Versions Compared

Key

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

...

OBJNAME$  = UROBJECT$(Mode%)

is executed in a Solution objectHeatBalance 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 Dredge and pump will form one word with the pump instance number 2 if Dredge

...