Design forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Reading out non standard door/window parameters by marker ?

Hi,

I am trying to modify a window/door marker to read out additional parameters and show them in the marker.
eg. Fire rating or Acustic rating.
Is there such possibility?

Am i on the right path trying to use:
REQUEST ("ASSOCLP_PARVALUE",[..]) command

but I am trying it with no luck yet...
Anyone tried that?

Regards,
Piotr Dobrowolski
9 REPLIES 9

David Larrew
Booster
From what I've read in your post REQUEST ("ASSOCLP_PARVALUE",[..]) will work for what you are trying to do.

The trick is to have each parameter listed and accounted for in both the Door/Window Object and the Marker Object. This allows you to pull the parameter value from the Door/Window and repeat the value in the Marker. And be sure to keep the parameter format identical in both Objects.

You could also use the "GLOB_USER_#" to pass the value between objects.
David Larrew, AIA, GDLA, GSRC

Architectural Technology Specialist

a r c h i S O L U T I O N S



WIN7-10/ OSX 10.15.7

AC 5.1-25 USA

The command is tricky itself...
I tried to use it, but it did not read the parameter - I probably did something wrong ...

In GDL manual there is no example on this command...and the explanation is a bit weired 😉)
As weired as the explanation on "moving" hotspots - I figured it out by the examples only ...

So. You probably did some research on the command (I saw Your post on gdl-talk sometime ago) so maybe You would share an example with architalk )

Regards
Piotr

Ok - there is a bug in GDL manual
"REQUEST ("ASSOCLP_PARVALUE", expr, name_or_index,type, flags, dim1, dim2, values)"

- noone noticed that expr - which is for parameters name should be written in quotation marks "expr".
I have found the working example in "object marker" or "object label" so I am rewriting the "WD marker" object to read out the fire and acoustic rating - the key was:

re_fire=REQUEST ("ASSOCLP_PARVALUE", "gs_list_firerating", nameind_fr, type_fr, flag_fr, dim1_fr, dim2_fr, val_fr)
re_acou=REQUEST ("ASSOCLP_PARVALUE", "gs_list_acousticrating", nameind_ar, type_ar, flag_ar, dim1_ar, dim2_ar, val_ar)

val_fr is the value of the parameter "gs_list_firerating" in asociated door / window

Regards,
Piotr Dobrowolski

David Larrew
Booster
You are correct. I didn't notice the GDL Manual typo because when I started using this REQUEST() command I used quotes for the object name out of habit - from using other REQUEST() commands in the past.

Is it working for you?
David Larrew, AIA, GDLA, GSRC

Architectural Technology Specialist

a r c h i S O L U T I O N S



WIN7-10/ OSX 10.15.7

AC 5.1-25 USA

Yes it does work, since I've found out what is wrong with it and why it returns with "0"
I did not use REQUEST comand much before.

Regards,
Piotr

Red
Booster
I have just finished a macro with window info for our company. Now how do I get an existing window marker to read my custom parameters from the macro.
Thanks,
Red

i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz

follow this:
http://archicad-talk.graphisoft.com/viewtopic.php?t=648

remember about quoting the parameter to read the value (bug in GDL manual)

I have remodeled the marker to read nominal door sizes and fire & acoustic rating.

Regards,

Piotr Dobrowolski

rav668
Participant
Hi,
I have a problem with WD - marker_22. It doesn't read values out of "gs_list_firerating", "gs_list_acousticrating", "gs_list_heattransfer" or "gs_list_location". I am working on Archicad22_POL, INT has also the same problem. What is this about? Did you have the same problem?
Best regards,
Rafał.

You are writing Your own marker? what it wrong with the default one?
(those values read ok in the default marker)

Piotr

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!