All Frameworks Object Hierarchy This Framework Indexes
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 |
o Property Context( | ) As (Read Only) |
o Property Hidden( | ) As |
o Property IsTrueParameter( | ) As (Read Only) |
o Property OptionalRelation( | ) As (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 (Read Only) |
If ( param1.ReadOnly ) Then MsgBox "No way to change param1" End If
o Property Renamed( | ) As (Read Only) |
o Property UserAccessMode( | ) As (Read Only) |
o Sub Rename( | iName) |
Call param1.Rename("PartSeatbodyMinimumThickness")
o Sub ValuateFromString( | 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 |
Dim str str = dimension.ValueAsString; MessageBox str
Copyright © 2003, Dassault Systèmes. All rights reserved.