CUROBJECT$ returns the name of an object in a Solution depending on the mode given.

Syntax

CUROBJECT$(Mode%)

Arguments 

    1. Mode% = 0: return the current object name;
    2. Mode% = 1: return the full object name (so including parent instance numbers etc.);
    3. Mode% = 2: return the full object name translated in logical text to be used as label;
    4. Mode% = 4: return the full object name but without instance numbers;
    5. Mode% = 5: return the object name of the one single object present inthe Solution object;

Remarks

  1. See the examples below for a full explanation of the different modes

Examples

Assume the relation

OBJNAME$  = UROBJECT$(Mode%)

is executed in a Solution objectHeatBalance.Dredge.Pump.2.Gearbox.LOcooler



NOTE: The objects Dredge and pump will form one word with the pump instance number 2 if Dredge


 holds an @FUNCTION attribute. The object HeatBalance is not included in the result since the HeatBalance object holds an @NOTINNAME attribute.

 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview