All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---KnowledgeObject
|
+---KnowledgeActivateObject
|
+---Relation
| o Property Comment( | ) As CATBSTR |
relcomment = maximummass.Comment MsgBox "maximummass comment : " & relcomment
| o Property Context( | ) As CATIABase (Read Only) |
| o Property NbInParameters( | ) As long (Read Only) |
| o Property NbOutParameters( | ) As long (Read Only) |
| o Property Value( | ) As CATBSTR (Read Only) |
reldef = maximummass.Value MsgBox "maximummass relation is defined as " & reldef
| o Func GetInParameter( | long | iIndex) As CATIABase |
Area.1 = area(PartBody\Pad.1\Sketch.1)the object PartBody\Pad.1\Sketch.1 is a sketch and not a parameter.
TypeName function to retrieve its real type.
Dim objectType objectType = TypeName(oParameter) If objectType = "Parameter" Then ...
| o Func GetOutParameter( | long | iIndex) As CATIAParameter |
| o Sub Modify( | CATBSTR | iValue) |
| o Sub Rename( | CATBSTR | iName) |
Copyright © 2003, Dassault Systèmes. All rights reserved.