Window/Door Marker requests
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-01-31
04:47 PM
- last edited on
‎2023-05-24
12:33 PM
by
Rubia Torres
‎2014-01-31
04:47 PM
I wonder if some one can help me.
I would like to request Parameter information from a custom window or door and use it in the marker.
Im really battling with the "request" functions.
I'm also not sure if I even need to use the "request" function, is there another way?
Eg: Lets say I have a parameter in the window/door called "Uvalue" and is't value is "3", how do I get that info to my marker so that I can use or display it?
Thanks in advance for all your help.
Regards.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-01-31 06:42 PM
‎2014-01-31
06:42 PM
Study the Request asscopar_value in any DW marker like the fire rating called from D&W.
Best Regards,
Piotr
Best Regards,
Piotr

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-03 02:57 AM
‎2014-02-03
02:57 AM
Hi Alister.
I spent a little bit of time trying to do the same thing.
GDL Reference Guide that comes with ArchiCAD will get you there eventually if you study the command Piort suggested.
This is my code I put into the MASTER script of my door label to call out door leaf dimension ... this worked for me.
leafwidth=0
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_width",
index_l, type_l, flags_l, dim1_l, dim2_l, leafwidth)
leafheight=0
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_height",
index_l, type_l, flags_l, dim1_l, dim2_l, leafheight)
Your code for U value would be something like this:
uvalue=0
abc = request ("ASSOCLP_PARVALUE", "gs_list_heattransfer",
index_l, type_l, flags_l, dim1_l, dim2_l, uvalue)
Test it with a simple code in 2d Script to see if it worked ... Make sure you test it in a project rather then GDL object box. Assign a value different to 0 to U-Value of your door/window. Hopefully the output doesn't return '0' ... and you know that it works.
TEXT2 0,0,uvalue
I haven't tested it myself but it should do the job.
Good luck.
I spent a little bit of time trying to do the same thing.
GDL Reference Guide that comes with ArchiCAD will get you there eventually if you study the command Piort suggested.
This is my code I put into the MASTER script of my door label to call out door leaf dimension ... this worked for me.
leafwidth=0
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_width",
index_l, type_l, flags_l, dim1_l, dim2_l, leafwidth)
leafheight=0
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_height",
index_l, type_l, flags_l, dim1_l, dim2_l, leafheight)
Your code for U value would be something like this:
uvalue=0
abc = request ("ASSOCLP_PARVALUE", "gs_list_heattransfer",
index_l, type_l, flags_l, dim1_l, dim2_l, uvalue)
Test it with a simple code in 2d Script to see if it worked ... Make sure you test it in a project rather then GDL object box. Assign a value different to 0 to U-Value of your door/window. Hopefully the output doesn't return '0' ... and you know that it works.
TEXT2 0,0,uvalue
I haven't tested it myself but it should do the job.
Good luck.
ArchiCAD 10 - 25 | Windows 10
ARCHIcreate | Perth, Western Australia
archicad solutions | content creation | training | software implementation
ARCHIcreate | Perth, Western Australia
archicad solutions | content creation | training | software implementation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-05 08:03 AM
‎2014-02-05
08:03 AM
Great, thanks so much for your efforts guys, much appreciated!
I will give this a bash.
Regards,
I will give this a bash.
Regards,
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-06 12:02 AM
‎2014-02-06
12:02 AM
Hi Guys,
I have finally figured this out but have now run into a new issue.
I am able to request the info I need, but if the parameter does not exist in a window or door, then the UI disappears. Is there a parameter dependance command similar to the file dependance command?
Kind regards,
I have finally figured this out but have now run into a new issue.
I am able to request the info I need, but if the parameter does not exist in a window or door, then the UI disappears. Is there a parameter dependance command similar to the file dependance command?
Kind regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-06 06:21 AM
‎2014-02-06
06:21 AM
I may be completely wrong ... but maybe if you try forcing the parameter...
ie.
IF U-Value = 0 THEN
U-value = 1
ENDIF
... my guess is that it probably won't work but may be worth a try.
ie.
IF U-Value = 0 THEN
U-value = 1
ENDIF
... my guess is that it probably won't work but may be worth a try.
ArchiCAD 10 - 25 | Windows 10
ARCHIcreate | Perth, Western Australia
archicad solutions | content creation | training | software implementation
ARCHIcreate | Perth, Western Australia
archicad solutions | content creation | training | software implementation