Update parameters programmatically.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-06-14 08:57 AM
2010-06-14
08:57 AM
e.g.
if (scaleValues=1) then !Scale with plan Text2 0,1, "Scale with plan" Parameters LastScale=0 LastScale=0 endif if (scaleValues=0) then !Scale independent Text2 0,1,LastScale if ABS(LastScale-GLOB_SCALE)>0 then parameters LastScale=GLOB_SCALE LastScale=GLOB_SCALE endif Text2 0,2,LastScale EndifThank you!
16 REPLIES 16
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-06-20 09:53 PM
2010-06-20
09:53 PM
Beart wrote:Nice looking object. We should have that graphical appearance option for elevation dimensions (with half white - half black triangle) built right into AC.
Look at animated gif-pictures.
Can you please share this object when you finish it? Thank you!
Cheers,
Adrian Tudoreanu

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-07 10:54 PM
2010-07-07
10:54 PM
Hi Beart,
How did you proceed with the object? Should we help you further? I got especially interested in this problem as connecting two parameters could be a great example for all GDL beginners. Handling scale is a pretty common problem, too. It would be nice to close this thread with a solution.
Regs,
How did you proceed with the object? Should we help you further? I got especially interested in this problem as connecting two parameters could be a great example for all GDL beginners. Handling scale is a pretty common problem, too. It would be nice to close this thread with a solution.
Regs,
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-11 06:34 PM
2010-07-11
06:34 PM
Hi, ztaskai. I would appreciate your help.
Updating parameters can started:
- If user use parameter of the element
- If user opening window of the object's parameters
Is it possible to doing otherwise way?
Updating parameters can started:
- If user use parameter of the element
- If user opening window of the object's parameters
Is it possible to doing otherwise way?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-17 05:16 PM
2010-07-17
05:16 PM
adytc wrote:Beart wrote:Nice looking object. We should have that graphical appearance option for elevation dimensions (with half white - half black triangle) built right into AC.
Look at animated gif-pictures.
Can you please share this object when you finish it? Thank you!
Cheers,
Adrian Tudoreanu
ztaskai wrote:"BeArt Level"
Hi Beart,
How did you proceed with the object? Should we help you further? I got especially interested in this problem as connecting two parameters could be a great example for all GDL beginners. Handling scale is a pretty common problem, too. It would be nice to close this thread with a solution.
Regs,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-20 06:45 PM
2010-07-20
06:45 PM
Beart wrote:Hi Beart,
Hi, ztaskai. I would appreciate your help.
Updating parameters can started:
- If user use parameter of the element
- If user opening window of the object's parameters
Is it possible to doing otherwise way?
Sorry, I lost this thread when my computer shut down in a blackout.
Basically, yes. All possible triggers for executing the parameter script are listed in Section 4.4 of the GDL Technical Standards which is a part of the Basic Library Documentation (
Best regards,
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-21 12:02 AM
2010-07-21
12:02 AM
Hello Zsolt,
Just want to verify that the master script is not run at zone update?
Regards, Juha
ztaskai wrote:Thanks for this.
the parameter script of zone stamps is run at 'Update Zones'
Just want to verify that the master script is not run at zone update?
Regards, Juha

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-21 09:41 AM
2010-07-21
09:41 AM
Hi Juha,
Cheers,
Juha wrote:This should be answered in general. Master script is never run on its own and no script is run without it. You can imagine it as if the master script was copied at the beginning of each script. As a consequence, - in the context of parameter scripts! - the master script will be run exactly as many times as the parameter script itself; which number is determined by the changes caused by the parameter script.
Just want to verify that the master script is not run at zone update?
Cheers,
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »