Model Info
- Last UpdatedNov 27, 2025
- 1 minute read
This function displays model information of a model part that has been indicated in the drawing. It is available through Tools > Inquiry > Model. It is also available as an option when using Annotate > General Note and Insert > Text.
The Model Info function is customizable through the PML pre-trigger "trig_draft_model_info". The PML ModelInfo object is used to customize the information presented in the information window.
The options available on the PML object are to add and remove properties as well as editing existing properties. The database reference to the model indicated by the user is accessible through the ModelInfo PML object, making it possible to retrieve the wanted data and present it in the dialog.
Methods available on the ModelInfo object:
|
Name |
Result |
Purpose |
|
DBREFGET() |
STRING |
The DB Reference of the indicated object as a STRING |
|
ADDPROPERTY(STRING, STRING) |
REAL |
Add new property with title and value given as STRING, STRING. Return the allocated property number. |
|
REMOVEPROPERTY(REAL) |
REAL |
Remove given property number (REAL), return the same value. |
|
MODELINFOPROPERTIES() |
ARRAY |
Creates an ARRAY of the currently available properties as property numbers. |
|
PROPERTYTITLE(REAL) |
STRING |
Get the property title as STRING from input property as REAL. |
|
PROPERTYVALUE(REAL) |
STRING |
Get the property value as STRING from input property number as REAL. |
|
EDITPROPERTYTITLE(REAL, STRING) |
STRING |
Change the property title to input STRING and property number REAL. Return the new title as STRING. The property title needs to be unique. |
|
EDITPROPERTYVALUE(REAL, STRING) |
STRING |
Change the property value to input STRING and property number REAL. Return the new value as STRING. |