GLOB_​​ELEM_​​TYPE > GLOB_​​CLASS_​​TYPE?

Home Forums General discussions GLOB_​ELEM_​TYPE > GLOB_​CLASS_​TYPE?

This topic contains 1 reply, has 2 voices, and was last updated by  Gergely Fehér 2 months, 2 weeks ago.

  • Author
    Posts
  • #2965

    Kevin Lee
    Participant

    HI GDL Team,

    We use custom Marker to label door/window and CW openings. it’s using very simple global scrip to define the opening type. For example, if its a window, it puts “W” as prefix and use circle whereas door puts “D” and use Hexagon.

    Recently, we had a situations where window multi-horizontal object helped us to model a door where door object couldn’t and we have assigned the window to be a door using element classification and scheduled to be a door but not window.

    Hopefully you understand where i am going but is there a way to define the element by classification rather than just rely on the type?

    IF GLOB_ELEM_TYPE = 3 Then parameters TZGDoorand_A = “W”
    IF GLOB_ELEM_TYPE = 4 Then parameters TZGDoorand_A = “D”
    IF GLOB_ELEM_TYPE = 15 Then parameters TZGDoorand_A = “D”

    regards,

  • #2966

    Gergely Fehér
    Keymaster

    From markers and labels, element classification can be reached with the properties, check the solutions here: http://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels/

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

You must be logged in to reply to this topic.