Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

WINDOW MARKER

Cosminn
Contributor
Hello everyone
I created a custom window marker, and I want to use in my 2d script the top elevation of the window. Is that possible?

I've used this parameters from "Door/Window Marker attributes"


ac_wido_a_size
ac_wido_b_size

But I am not able to use this one:
ac_glob_elevation

I've tried to use the:
GLOB_ELEVATION which is base elevation of the element, but I was not able do use it.
in return I can use this one
GLOB_CSTORY_HEIGHT which is height of the current story, but without GLOB_ELEVATION or ac_glob_elevation it is not helpful for me.


Thank you in advance,

Daniel
Sincerely,
Daniel
6 REPLIES 6
Anonymous
Not applicable
Hy Daniel,
try to use

ac_sill_to_curr_story
or
ac_sill_to_anchor_level

and let me know.
Cosminn
Contributor
Thank you Ilder for your reply and for your advice.
Unfortunately doesn't work, I mean on the floor plan I can see only the value of 0 instead of the real sill height.

I've wrote a simple script for 2d

STRING=ac_sill_to_curr_story
TEXT2 0,0,STRING

I've tried on the parameter script as well using this code:

parameters top_elev=ac_sill_to_curr_story

I've cretated the top_elev parameter

but only the value of 0 is there

If I've missed something please let me know.

Thank you
Sincerely,
Daniel
Anonymous
Not applicable
Hi Daniel,
can you send me your marker? If you do i'm going to search the problem.
Cosminn
Contributor
Thanks, please give me your email.

daniel.virtic is my skype ID, if need it.
Sincerely,
Daniel
Anonymous
Not applicable
Together Daniel and i have solved the problem.
The ac_sill_to_curr_story must be requested.
It's best to do it in master script (first attempt had request in parameter script and an auxiliary parameter to store result but there were refresh problems)

MASTER script:
valsill=0.00
na_inalt2 = request("Assoclp_parvalue", "ac_sill_to_curr_story", naminda, typea, flaga, dim1a, dim2a, valsill)
acesta = str(sConversionText, valsill)
Anonymous
Not applicable
Ilder and Cosminn

well done!