Current_Work_Object

This check verifies whether the body elements are allowed as In Work objects. If not, an error is displayed.

This page discusses:

Context

To export a model for other applications, you need to display the complete view of a model geometry. To do so, the body, or a specific body element, must be defined as the In Work Object.

The following objects can be allowed as the In Work Object:

  • The part body.
  • The last element of the part body.
  • A body on the first level.
  • The last element of a first-level body.
  • The last element of a geometrical set.
  • The last element of an ordered geometrical set.

Tip: To define the In Work Object, in the tree, right-click the element and choose Define In Work Object.

Check Information

Check Details Description
Applicable to: PartFeature
Automatic Solution:
Check Parameters:
  • PartBodyAsInWorkObject: Boolean type.

    If the option is selected, allows PartBody as an In Work Object.

  • AndAdditionallyLastElement: Boolean type.

    If the option is selected, the last PartBody feature is also allowed as an In Work Object.

    Note: This parameter applies only if the PartBodyAsInWorkObject parameter is selected.

  • ListOfAllowedBodiesOnFirstTreeLevel: Multi Value Parameter type.

    Specifies the types of first level bodies allowed as In Work Objects:

    • BodyFeature
    • OpenBodyFeature
    • MMOrderedGeometricalSet

  • FurtherAllowedElements: Multi Value Parameter type.

    If the option is selected, allows the following elements as In Work Objects:

    • LastElementOfSelectedBodies: the last element from the allowed first-level bodies.
    • LastElementOfOpenBody: the last element of a geometrical set.
    • LastElementOfOrderedGeometricalSet: the last element of an ordered geometrical set.
    • LastElementOfBody: The last element of a body.

  • AllowSpecificTypesOnFirstTreeLevel: Multi Value Parameter type.

    Specifies the types of first level elements allowed as In Work Objects.

  • ObjectHasToBeIn: Multi Value Parameter type.

    Specifies the allowed visibility state for an In Work Object:

    • SHOW: the In Work Object must be visible.
    • NOSHOW: the In Work Object must not be visible.
    • SHOW + NOSHOW: the visibility state is not checked.
    • ShowIfNotPartBody: the In Work Object must be visible. The visibility state of the PartBody is not checked.
    • NoShowIfNotPartBody: the In Work Object must be visible. The visibility state of the PartBody is not checked.