All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown | +---IDispatch | +---CATBaseUnknown | +---CATBaseDispatch | +---AnyObject | +---Product
o Property Analyze( | ) As CATIAAnalyze (Read Only) |
Dim EngineAnalysis As Analyze Set EngineAnalysis = Engine.Analyze
o Property Definition( | ) As CATBSTR |
EngineDef = Engine.Definition
o Property DescriptionInst( | ) As CATBSTR |
Desc = "This is the Engine component product description" EngineComp.DescriptionInst(Desc)
o Property DescriptionRef( | ) As CATBSTR |
Desc = "This is the Engine reference product description" Engine.DescriptionRef(Desc)
o Property Move( | ) As CATIAMove (Read Only) |
Dim EngineMoveObject As Move Set EngineMoveObject = Engine.Move
o Property Nomenclature( | ) As CATBSTR |
EngineNom = Engine.Nomenclature
o Property Parameters( | ) As CATIAParameters (Read Only) |
Set productRoot = productDoc.Product Set params = productRoot.Parameters
o Property PartNumber( | ) As CATBSTR |
Engine.PartNumber("A120-253X-7")
o Property Position( | ) As CATIAPosition (Read Only) |
Dim EnginePositionObject As Position Set EnginePositionObject = Engine.Position
o Property Products( | ) As CATIAProducts (Read Only) |
Dim EngineChildren As Products Set EngineChildren = Engine.Products
o Property Publications( | ) As CATIAPublications (Read Only) |
o Property ReferenceProduct( | ) As CATIAProduct (Read Only) |
o Property Relations( | ) As CATIARelations (Read Only) |
Set productRoot = productDoc.Product Set rels = productRoot.Relations
o Property Revision( | ) As CATBSTR |
Engine.Revision("3A")
o Property Source( | ) As CatProductSource |
Engine.Source(catProductMade)
o Property UserRefProperties( | ) As CATIAParameters (Read Only) |
Set productRoot = productDoc.Product Set UserProps = productRoot.UserRefProperties
o Sub ActivateDefaultShape( | ) |
o Sub ActivateShape( | CATBSTR | ShapeName) |
o Sub AddMasterShapeRepresentation( | CATBSTR | iShapePathName) |
Note: This master shape representation is optional.
Engine.AddMasterShapeRepresentation("e:\Models\Engine.model")
o Sub AddShapeRepresentation( | CATBSTR | iShapePathName, |
CATBSTR | iShapeName, | |
CatRepType | iRepBehavior, | |
boolean | 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( | CatWorkModeType | newMode) |
o Func Connections( | CATBSTR | iConnectionsType) As CATIACollection |
Dim EngineConstraints As Collection Set EngineConstraints = Engine.Constraints
o Func CreateReferenceFromName( | CATBSTR | iLabel) As CATIAReference |
Dim Ref As Reference Ref = Prod2.CreateReferenceFromName("Root/Prod2/!Face:(Brp:(Pad.1:0(Brp:(Circle.1))):None())")
o Sub DesactivateDefaultShape( | ) |
o Sub DesactivateShape( | CATBSTR | ShapeName) |
o Sub ExtractBOM( | CatFileType | iFileType, |
CATBSTR | iFile) |
o Func GetActiveShapeName( | ) As CATBSTR |
o Sub GetAllShapesNames( | CATSafeArrayVariant | olistshape) |
o Func GetDefaultShapeName( | ) As CATBSTR |
o Func GetMasterShapeRepresentation( | boolean | iLoadIfNecessary) As CATBaseDispatch |
Dim MSRep As Object Set MSRep = Engine.GetMasterShapeRepresentation(True)
o Func GetMasterShapeRepresentationPathName( | ) As CATBSTR |
Set MSRepPath = Engine.GetMasterShapeRepresentationPathName
o Func GetNumberOfShapes( | ) As short |
o Func GetShapePathName( | CATBSTR | iShapeName) As CATBSTR |
o Func GetShapeRepresentation( | boolean | iLoadIfNecessary, |
CATBSTR | iShapeName, | |
CatRepType | iRepBehavior, | |
boolean | iContext) As CATBaseDispatch |
Dim MSRep As Object Set MSRep = Engine.GetMasterShapeRepresentation(True,"PART",catRep3D,TRUE)
o Func GetTechnologicalObject( | CATBSTR | iApplicationType) As CATBaseDispatch |
Dim EngineConstraints As Collection Set EngineConstraints = Engine.GetTechnologicalObject("Constraints")
o Func HasAMasterShapeRepresentation( | ) As boolean |
HasMSRep = Engine.HasAMasterShapeRepresentation()
o Func HasShapeRepresentation( | CATBSTR | iShapeName, |
CatRepType | iRepBehavior, | |
boolean | iContext) As boolean |
HasRep = Engine.HasRepresentation("PART",catRep3D,TRUE)
o Sub RemoveMasterShapeRepresentation( | ) |
Note: This master shape representation is optional.
Engine.RemoveMasterShapeRepresentation()
o Sub RemoveShapeRepresentation( | CATBSTR | iShapeName, |
CatRepType | iRepBehavior, | |
boolean | 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.