zone number counting value

Home Forums Problems and solutions in GDL Others zone number counting value

This topic contains 3 replies, has 3 voices, and was last updated by  Kristian Bursell 10 months, 2 weeks ago.

  • Author
    Posts
  • #3689

    Kristian Bursell
    Participant

    I would like to add some values (prefixes) into the zone number but retain the automatic counting functions. Is this possible?
    I was hoping to find and autotext value or similar in GDL code that defines this counting value but i could not find anything.

    Thanks

    CADSWIFT
    Australia

  • #3690

    Barry Kelly
    Participant

    I just did a quick test by adding a prefix to the room number parameter in the zone object script.
    Automatic numbering still worked just fine.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • #3693

    Péter Baksa
    Participant

    Hi Kristian!

    By automatic counting do you mean the auto-incrementation of zone no.?
    You don’t need autotext for that, just type your prefix before the number, and place the zones. Btw. this doesn’t work for postfixes. It might not work in all versions, I’ve tested this only with AC21.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • #3712

    Kristian Bursell
    Participant

    thanks Barry and Peter,

    it works if you just simply type the prefix in but I want to define th prefix in the GDL code based on several other parameter values. Therefore i need to set in the GDL code: parameters ROOM_NUMBER = prefix + counting function

    CADSWIFT
    Australia

You must be logged in to reply to this topic.