All Frameworks Object Hierarchy This Framework Indexes
| o Property Analyze( | ) As (Read Only) |
Dim EngineAnalysis As Analyze Set EngineAnalysis = Engine.Analyze
| o Property Definition( | ) As |
EngineDef = Engine.Definition
| o Property DescriptionInst( | ) As |
Desc = "This is the Engine component product description" EngineComp.DescriptionInst(Desc)
| o Property DescriptionRef( | ) As |
Desc = "This is the Engine reference product description" Engine.DescriptionRef(Desc)
| o Property Move( | ) As (Read Only) |
Dim EngineMoveObject As Move Set EngineMoveObject = Engine.Move
| o Property Nomenclature( | ) As |
EngineNom = Engine.Nomenclature
| o Property Parameters( | ) As (Read Only) |
Set productRoot = productDoc.Product Set params = productRoot.Parameters
| o Property PartNumber( | ) As |
Engine.PartNumber("A120-253X-7")
| o Property Position( | ) As (Read Only) |
Dim EnginePositionObject As Position Set EnginePositionObject = Engine.Position
| o Property Products( | ) As (Read Only) |
Dim EngineChildren As Products Set EngineChildren = Engine.Products
| o Property Publications( | ) As (Read Only) |
| o Property ReferenceProduct( | ) As (Read Only) |
| o Property Relations( | ) As (Read Only) |
Set productRoot = productDoc.Product Set rels = productRoot.Relations
| o Property Revision( | ) As |
Engine.Revision("3A")
| o Property Source( | ) As |
Engine.Source(catProductMade)
| o Property UserRefProperties( | ) As (Read Only) |
Set productRoot = productDoc.Product Set UserProps = productRoot.UserRefProperties
| o Sub ActivateDefaultShape( | ) |
| o Sub ActivateShape( | ShapeName) |
| o Sub AddMasterShapeRepresentation( | iShapePathName) |
Note: This master shape representation is optional.
Engine.AddMasterShapeRepresentation("e:\Models\Engine.model")
| o Sub AddShapeRepresentation( | iShapePathName, | |
| iShapeName, | ||
| iRepBehavior, | ||
| iContext) |
Note: The possible behavior supported are : 3D, 2D and text. The representation can also be added within a context or not. A representation on a product is optional, but many representation with different behavior (or the same) is supported
Engine.AddShapeRepresentation("e:\Models\Engine.model","MyShape",catRep3D,TRUE)
| o Sub ApplyWorkMode( | newMode) |
| o Func Connections( | iConnectionsType) As |
Dim EngineConstraints As Collection Set EngineConstraints = Engine.Constraints
| o Func CreateReferenceFromName( | iLabel) As |
Dim Ref As Reference
Ref = Prod2.CreateReferenceFromName("Root/Prod2/!Face:(Brp:(Pad.1:0(Brp:(Circle.1))):None())")
| o Sub DesactivateDefaultShape( | ) |
| o Sub DesactivateShape( | ShapeName) |
| o Sub ExtractBOM( | iFileType, | |
| iFile) |
| o Func GetActiveShapeName( | ) As |
| o Sub GetAllShapesNames( | olistshape) |
| o Func GetDefaultShapeName( | ) As |
| o Func GetMasterShapeRepresentationPathName( | ) As |
Set MSRepPath = Engine.GetMasterShapeRepresentationPathName
| o Func GetMasterShapeRepresentation( | iLoadIfNecessary) As |
Dim MSRep As Object Set MSRep = Engine.GetMasterShapeRepresentation(True)
| o Func GetNumberOfShapes( | ) As |
| o Func GetShapePathName( | iShapeName) As |
| o Func GetShapeRepresentation( | iLoadIfNecessary, | |
| iShapeName, | ||
| iRepBehavior, | ||
| iContext) As |
Dim MSRep As Object Set MSRep = Engine.GetMasterShapeRepresentation(True,"PART",catRep3D,TRUE)
| o Func GetTechnologicalObject( | iApplicationType) As |
Dim EngineConstraints As Collection
Set EngineConstraints = Engine.GetTechnologicalObject("Constraints")
| o Func HasAMasterShapeRepresentation( | ) As |
HasMSRep = Engine.HasAMasterShapeRepresentation()
| o Func HasShapeRepresentation( | iShapeName, | |
| iRepBehavior, | ||
| iContext) As |
HasRep = Engine.HasRepresentation("PART",catRep3D,TRUE)
| o Sub RemoveMasterShapeRepresentation( | ) |
Note: This master shape representation is optional.
Engine.RemoveMasterShapeRepresentation()
| o Sub RemoveShapeRepresentation( | iShapeName, | |
| iRepBehavior, | ||
| iContext) |
Note: This representation is optional.
Engine.RemoveMasterShapeRepresentation
("PART",catRep3D,TRUE)
| o Sub Update( | ) |
Dim RootProduct As Product Set Rootproduct = productDoc.Product Rootproduct.Update
Copyright © 2003, Dassault Systèmes. All rights reserved.