Home › Forums › General discussions › Parameter A and B – original parameter
- This topic has 6 replies, 3 voices, and was last updated 2 years, 2 months ago by
Manuel Emmenegger.
-
AuthorPosts
-
-
February 2, 2020 at 21:39 #18533
Manuel Emmenegger
ParticipantI create a cube with the dimension AxB. I define A with 2m and B with 1m in the parameter list, then I save the element and place this cube in the ground plan. Know I change the dimension of this cube (A=4, B=3), can I get the original value of A or B out of the script or are they know overwritten?
Thanks in advance.
Manuel Emmenegger
-
February 3, 2020 at 02:16 #18534
David Shorter44
ParticipantDefault parameters (those values set when the object is saved) can always be retrieved
see attached screenshot ‘resetToDefault’Attachments:
ArchiCAD 4.1-22
MacBook RetinaDisplay
16Gb RAM 500Gb SSD
BIMXdocs-
February 11, 2020 at 18:20 #18547
Manuel Emmenegger
ParticipantHi David
Thank you, I’ve not know that, but it’s not what I’m looking for.
-
February 3, 2020 at 08:23 #18537
Péter Baksa
KeymasterHi Manuel,
from the script you don’t have it. For what would you need it?
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE-
February 11, 2020 at 18:40 #18548
Manuel Emmenegger
ParticipantHi Péter
We have a construction area with some buildings (building A, building B, building C). Know we want to place a survey map in the header of every plan, at the moment the
architect do this with the element below. He draw the survey map in the 2D-Symbol and change the list of the parameter “p_sicht_tab”. With the command MUL2 it’s possible
to change the size graphically, but I need the parameters orig_A & orig_B (At the moment we copy the parameter A & B manual in the parameterlist).
Maybe there is a better way to create this element, thank you in advance.Attachments:
-
February 12, 2020 at 08:17 #18550
Péter Baksa
Keymasterorig_A and orig_B don’t have to be parameters, they can be variables or numbers in the code too. Maybe it’s easier to find them if they are parameters.
Another solution can be to resize the drawing to be 1×1 m, thus you can writeMUL2 A, B
instead ofMUL2 A/1, B/1
. A and B can be the original size of the drawing in this case.Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE -
April 26, 2020 at 17:57 #18730
Manuel Emmenegger
ParticipantOk, that would bi another possibility.
Thank you.
-
-
-
AuthorPosts
- The forum ‘General discussions’ is closed to new topics and replies.