To access all type of variables created in the Definitions, Sources and the User Defined.
Model
Syntax: m.modeltypeExample: m.Type = 'Header' and Eq(m.Width, 44, 0.1) and m.Height <= 219To access all model information based on the group type, sheeting, beams, roofs, etcSuch as : SolidLength, Width, Height, Material, Name, Grade, Label, Sublabel, Beamcode, etc...
Project
Syntax: p.projecttypesetting Example: p.DrawingPropertiesTo access all hsbcad Project-settings information.Such as : Name, Number, Street, DwgPath, ComputerName, etc....
Inventory
Syntax: i.inventoryitemExample: if(m.Height = '12.5',i.Code='GYP-EGL-FR-12.5',i.code='GYP-EGL-FR-2.7-15')To access all the items in the inventory list. Such as : Code Field, Description Field, UOM Field, or other inventory columnheader.
Used functions
The functions will only show if they can be used in the group type.
To access the list:
StartWith
Indicates that a string starts with another string. StartsWith(searchIn, searchFor) example StartsWith(m.Name,'Elephant')
Contains
Indicates that a string contains another string. Contains(searchIn, searchFor) Contains(m.Material,'Pin')
Eq
Tolerance equals. Returns true or false. Eq(a, b, t) Eq(a, b) a is compared against b, with tolerance t. If the tolerance is not specified, 0.001 is used. Eq(m.SolidWidth, 38, 0.001)
IsNull
Tests for null in a value. Returns true or false. IsNull(property) IsNull(m.ExtrProf)
Concatenate or C
Concatenates strings. C('One','Two','Three')
Section
Creates a Section for beam section comparison. In the beam context the beam’s Section property can be tested. m.Section=Section(56,32)
Map
Returns values from the Map of GenBeam or TSL. Map(mapkey, defaultvalue) Note: The default value is returned if the map key does not exist. Map('MyMap.SubMap.Key',23)
MapX
Returns values from the MapX data of any entity. MapX(mapkey, defaultvalue) Note: The default value is returned if the map key does not exist. MapX('MyMap.SubMap.Key',23)
PropertySet
Returns values from the Property sets of any entity. PropertySet(propertyset key, defaultvalue) Note: The default value is returned if the propertyset key does not exist. PropertySet('MyMap.SubMap.Key',23)
Alias or A
Returns the alias value. If the aliasSetName is not specified, the default Alias Set is used. Alias(m.Number,WallType)='ExternalWall'
HasPropertySet
Indicates whether the specified property set exists. HasPropertySet('MyPropertySet.Length')
Mathematical Expressions:
in
Returns whether an element is in a set of values. in(m.Code,'AB','AD','CC')
if
Returns a value based on a condition. if( v.LengteLuifel>=3500,1,0)
Round
Rounds a value to the nearest integer or specified number of decimal places. Round(m.Length/500,0)
Ceiling
Floor
Max
Min
Sign
Truncate
Alias
appendix,bomlink,Projects
Brauchen Sie Hilfe?
Sie können die gesuchte Antwort nicht finden? Keine Sorge, wir sind hier, um zu helfen!