cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.

This happens when you press ctrl+alt when changing windows.

LeeJaeYoung
Virtuoso

스크린샷 2023-09-26 020503.png

I created an opening with nothing in the window.
There is no problem when setting and installing the A and B values.
However, if I set window 25 to ctrl+T and select the window opening I created with ctrl+alt, this happens.
The A and B values remain the same.
To solve this problem, where can I study on GDL?

I think it's GLOB_MODPAR_NAME in the parameter scripter....

Can you please explain how ctrl+alt works?

 

 

If you select it, the values of A, B... are entered normally, but they are not created as A and B.
What should I study?

스크린샷 2023-09-26 021425.png

 It seems that A B is treated as unchanged in the parameter script.

 

 

 

 

I think the A, B etc parameter scripts are not working.
Is there a function that recognizes OK in settings?
I brought the parameter script from Door Dimensions example AC19.gsm based only on units.
But everything doesn't seem to work.
I think there is a function that works at this time...
Please tell me how to solve it

 

print _bRecalculateW
print _bRecalculateH
print GLOB_MODPAR_NAME = "ac_unit_width"
print GLOB_MODPAR_NAME = "ac_unit_height"


0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
0 (WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
Number of processor cores : 20
----------------------------------------------------------------------
Document name : Untitled
Processed : 4 walls 2 objects 0 columns 0 beams
Start time : 2023-09-26 오전 11:12:13
End time : 2023-09-26 오전 11:12:13
Elapsed time : 0 seconds
----------------------------------------------------------------------
(WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
(WD - 002 | 6A5DC879-D3B5-4875-80E6-99ADB807E52D)
Projection : Front view
Camera azimuth : 270
----------------------------------------------------------------------
AC27 on window 11
4 REPLIES 4
Peter Baksa
Graphisoft
Graphisoft

In the settings dialog, Ctrl-alt transfers parameters from one library part to another. Parameters which have the Unique flag are excluded from this. Parameters which are not present in the source library part keep their default values.

GLOB_MODPAR_NAME only works when the user changed a parameter on the UI or dragged an editable hotspot. Parameter transfer and PARAMETERS commands leave GLOB_MODPAR_NAME empty.

GDL parameters are case-insensitive in the code, but string comparison is not, so it is important to spell GLOB_MODPAR_NAME comparisons the same as in the parameter list.

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
LeeJaeYoung
Virtuoso

I don't understand what you are saying.
The translation is too difficult... ^^
I would really appreciate it if you could tell me what code I should write.

AC27 on window 11
Peter Baksa
Graphisoft
Graphisoft

Hi,

 

It seems our non-understanding is mutual.

Can you describe this situation more precisely: If you select it, the values of A, B... are entered normally, but they are not created as A and B.

You wrote: I brought the parameter script from Door Dimensions example AC19.gsm based only on units. What do you mean based on units? Did you also copy the master script?

Please tell me how to solve it - I think we have to see all your code to help.

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
Lingwisyer
Guru

Unless you duplicate all of the GS parameters in your object, simply copying the Parameter Script into your own object will cause issues with parameters not being found or defined...

 

if I set window 25 to ctrl+T and select the window opening I created with ctrl+alt

If you have an object, an Empty Window Opening in this case, and you wish to change it to to a different object, Window 25, while retaining any common settings you would:

  1. Select your Empty Window Opening
  2. Open the object settings (ctrl / CMD + T)
  3. Locate Window 25
  4. Press and hold Ctrl / CMD + Alt
  5. Click on Window 25

The end result would be a Window 25 that has the A & B values, as well as the Opening and the Fixings & Fixtures settings, inherited from your Empty Window Opening. All other settings such as the Frame settings would be assigned the default values.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660