GDL
About building parametric objects with GDL.
SOLVED!

See which graphic override is on

insideru
Advocate

I am designing a custom zone label, to be a jack of all trades. I am interested if it's possible to read the current GO or if a GO is on, so i can display some data based on this.

 

I am basicaly trying to display the occupancy property of a zone only on the fire plan graphic override.

ARCHICAD 28 INT
macOS Sequoia
1 ACCEPTED SOLUTION

Accepted Solutions
Solution

It never hurts to have multiple options, but it can get confusing for the operator.

 

Just thinking, if you can't determine if a GO is active, you could use Library Globals and Model View Options.

You would need to create a new MVO parameter for 'fire plan - on/off'.

Then a new MVO combination for fire plans where that option is on (off for all other MVO combinations).

Your label can then read the MVO parameter setting and adjust accordingly.

 

Barry.

 

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

View solution in original post

7 REPLIES 7
Barry Kelly
Moderator

I don't have an answer to your question.

 

But wouldn't it just be better/easier to place the zone label on a layer that is active for the fire plan?

That way you can position it exactly where you want for that plan (may be a different position to the other plans), and it can show exactly the information that you want independent of other zone labels in other layers.

 

That is the beauty of labels - you can have as many as you want, in any layer, in different positions and showing different information.

You don't have to rely on one label.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
insideru
Advocate

Thanks for your reply. That's how i'm doing it now, but it would be so much easier to use the same label to display that 1 extra row. You need to do double the work to move the labels to dodge the furniture and dimension lines/text every time there are changes involved.

ARCHICAD 28 INT
macOS Sequoia

@insideru wrote:

You need to do double the work to move the labels to dodge the furniture and dimension lines/text every time there are changes involved.


You could also say it is extra work trying to find that one position for the one label that suits all plans.

Of course it would be dependent on the type of plans you are producing.

There is never one way to do something correctly.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

You are correct. I am in the process of updating my template after 4 years or so and i'm exploring ideas to speed up my workflow. I started dabbling in GDL and found some ways to achieve that. Maybe i got overexcited 🙂 You gotta admit options are always nice tho, you can try more ways to achieve the same goal and choose the one that works best for you. 

ARCHICAD 28 INT
macOS Sequoia
Solution

It never hurts to have multiple options, but it can get confusing for the operator.

 

Just thinking, if you can't determine if a GO is active, you could use Library Globals and Model View Options.

You would need to create a new MVO parameter for 'fire plan - on/off'.

Then a new MVO combination for fire plans where that option is on (off for all other MVO combinations).

Your label can then read the MVO parameter setting and adjust accordingly.

 

Barry.

 

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
insideru
Advocate

That is an excellent take i hadn't thought about.

Thanks

ARCHICAD 28 INT
macOS Sequoia
scottjm
Advisor

For what it's worth, or current template utilises a Zone Stamp that has an MVO setting for each each different drawing and alows different configuration of content, size and position for each.  The coding to create this was quite complex too. We have 10 different instances possible. 

 

Since being able to place a Zone LABEL I have been looking at moving or workflows to this and have a separate label for each drawing type. 

 

I have found that users struggled with the concept that a single zone stamp existed across multiple drawing types with different settings and would regularly inadvertently move the stamp position origin point in one drawing which would move it in a different drawing and they wouldn't realise till later. 

 

I feel like individual zone labels is much more flexible and intuitive for the user, even though there may be some slight repetition. 

 

A potential simpler efficiency improvement could instead be to have separate 'fire Drawing zone label' or 'ceiling plan zone label' (or even just a favourite maybe) with all the info you would want to show by default for that drawing  that a user can just select and assign to a zone quickly. 

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe