All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown | +---IDispatch | +---CATBaseUnknown | +---CATBaseDispatch | +---AnyObject | +---Parameter
Dim CATDocs As Documents Set CATDocs = CATIA.Documents Dim part1 As Document Set part1 = CATDocs.Add("CATPart") Dim density As RealParam Set density = part1.Part.Parameters.CreateReal("density", 2.5)
o Property Comment( | ) As CATBSTR |
o Property Context( | ) As CATIABase (Read Only) |
o Property Hidden( | ) As boolean |
o Property IsTrueParameter( | ) As boolean (Read Only) |
o Property OptionalRelation( | ) As CATIARelation (Read Only) |
Set param1_rel = param1.OptionalRelation If param1_rel is Nothing Then MsgBox "No relation to compute param1" End If
o Property ReadOnly( | ) As boolean (Read Only) |
If ( param1.ReadOnly ) Then MsgBox "No way to change param1" End If
o Property Renamed( | ) As boolean (Read Only) |
o Property UserAccessMode( | ) As long (Read Only) |
o Sub Rename( | CATBSTR | iName) |
Call param1.Rename("PartSeatbodyMinimumThickness")
o Sub ValuateFromString( | CATBSTR | iValue) |
"True" or "False" for Boolean
a numerical value for Integer or Real
a numerical value with or without a unit for Dimension
dimension.ValuateFromString("300mm");
o Func ValueAsString( | ) As CATBSTR |
Dim str str = dimension.ValueAsString; MessageBox str
Copyright © 2003, Dassault Systèmes. All rights reserved.