CUROBJECT$ returns the name of an object in a Solution depending on the mode given.
CUROBJECT$(Mode%)
Arguments
Assume the relation
OBJNAME$ = UROBJECT$(Mode%)
is executed in a Solution object
HeatBalance.Dredge.Pump.2.Gearbox.LOcooler |
For Mode% = 1, the CUROBJECT$ function returns the full object name, so all parents including instance numbers:OBJNAM$ = "Dredge.Pump.2.Gearbox.LOcooler"NOTE: The objects in the object-parents sequence which hold a @NOTINNAME attribute are not included in the result when Mode% = 1, so in this example the HeatBalance object will hold this attribute
For Mode% = 2, the CUROBJECT$ function returns the full object name translated in a text for the component in a drawing, so for the above object: "OBJNAM$" will be:
"LO cooler |
Gearbox |
Dredgepump2" |
NOTE: The objects
Dredge |
pump |
Dredge |
For Mode% = 4, the CUROBJECT$ function returns the full object name, so with all parents WITHOUTinstance numbers, so:
OBJNAM$ = "Dredge.Pump.Gearbox.LOcooler" |
HeatBalance |
For Mode% = 5, the CUROBJECT$ function returns the object name of the one single object present in a Solutionobject, e.g. if
HeatBalance.Dredge.Pump.2.Gearbox |
Quick links: Function overview | Attribute overview | Constants overview | Dimensions overview