Reply To: Determining which tool and setting are selected

Home Forums Problems and solutions in GDL Informations from the environment Determining which tool and setting are selected Reply To: Determining which tool and setting are selected

#2237
Gergely Fehér
Keymaster

Linking to tools is based on subtypes only. Elements under the “Section Marker” can be used with the section tool, and elements in the “Elevation Marker” can be used with the elevation tool. Section-Elevation marker subtype is the common ancestor of them, and as in early ARCHICAD versions it was one tool the elements of this subtype appears in both of the new tools.
To determine which of them is used, I would make 2 copies of the object, save them as different section and elevation markers and save the original item as a macro. Both of the new elements should simply call the common macro, with adding one more parameter: the information about the callers subtype

Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE