pycatia.mec_mod_interfaces.solid

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.mec_mod_interfaces.solid.Solid(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
Solid

Represents an imported solid object.
Role: the imported solid is a solid obtained from copy/paste with link or
design in context.
The solid object has a link to a source element obtained from SourceElement and
a source product obtained from SourceProduct .
property move: Move

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Move() As Move (Read Only)

Returns the move object of the solid.
Role: The move object is aggregated by the solid object and itself
aggregates a movable object to which you can apply a move transformation by
means of an isometry matrix. It moves the solid according to this
isometry.

Example:

This example retrieves the move object EngineMoveObject for
the
Engine product.


Dim EngineMoveObject As Move
Set EngineMoveObject = Engine.Move





See also:
Move
Return type:

Move

property source_element: AnyObject

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property SourceElement() As AnyObject (Read Only)

Returns the source element of the imported solid.
Role: returns the linked element in the source part.

Example:
The following example returns in element the source element of the
imported solid importedSolid:

Set element = importedSolid.SourceElement
Return type:

AnyObject

property source_product: AnyObject

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property SourceProduct() As AnyObject (Read Only)

Returns the source product instance of the imported solid.
Role: returns the product instance which was selected when the import was
created.

Example:
The following example returns in prod1 the source product instance of
the imported solid importedSolid:

Set prod1 = importedSolid.SourceProduct
Return type:

AnyObject