Solid Edge Assembly Type Library > Occurrence Object : HasBodyOverride Property |
Creation of an assembly feature, for example, on an Occurrence of an assembly results in an override body being created for the Occurrence in the context of the assembly. Solid Edge uses the override body in place of the body from the Occurrence document in the assembly for display, interference analysis etc.
Visual Basic |
---|
Public Property HasBodyOverride As Boolean |
A return value of True implies that the design model in the Part document of the Occurrence has alternate geometry in the context of the assembly.
When objXYZ.HasBodyOverride=True, the override body may be accessed by the method objXYZ.Body where objXYZ is an object of type Occurrence and objXYZ.Subassembly=FALSE.
This method returns the body in the assembly space where the override was created and not in the original part space, therefore Occurrence transform should not be directly applied to the body geometry.
Member of SolidEdgeAssembly.Occurrence
Property HasBodyOverride As Boolean (read-only)