Needsbusinessobject Clause for the Add Program Command

You can specify that the program must function with a business object. For example, you would select this option if the program promotes a business object. If, however, the program creates a business object, the program is independent of an existing object and this option would not apply.

add program NAME needsbusinessobject;

The selected object is the starting point for any program specified as "needs business object." If a method does not use a business object, the selected object is not affected.

If not set, some macros, including Business Object Identification Macros, are not available.

The doesneedcontext selectable is available on programs to determine this setting in an existing program.

The following indicates that a business object is not needed:

add program NAME !needsbusinessobject;

When defining a type or format, you can specify program information:

  • When defining a type, you can indicate any defined programs. Even programs that do not require a business object could be associated with a type in order to make them available to users.
  • When defining a format, only the programs defined as “needs business object” are appropriate for the view, edit, and print procedures since the 3DSpace passes a file from a business object to the program.