Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OBJNAME$  = UROBJECT$(Mode%)

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


  • For Mode% = 0, the CUROBJECT$ function simply returns the current object name, so: OBJNAM$ = "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  and  will objects Dredge and pump will form one word with the pump instance number 2 if if Dredge


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

  • For For Mode% = 4, the the CUROBJECT$ function  function returns the full object name, so with all parents parents WITHOUTinstance numbers, so: OBJNAM$ = "Dredge.Pump.Gearbox.LOcooler" NOTE: Again, the object is object HeatBalance is not included in the result since the HeatBalance object holds a @NOTINNAME attribute.

  • For For Mode% = 5, the the CUROBJECT$ function  function returns the object name of the one single object present in a Solutionobject, e.g. if only . if HeatBalance.Dredge.Pump.2.Gearbox only contains an object LOcooler, CUROBJECT$(5) will return here the result "LOcooler".



 

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