2023-09-25 07:12 PM - last edited on 2024-09-26 01:56 PM by Doreena Deng
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?
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
----------------------------------------------------------------------
2023-09-29 10:50 AM
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.
2023-09-29 03:58 PM
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.
2023-10-30 10:30 AM
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.
2023-10-31 02:42 AM - edited 2023-10-31 02:51 AM
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:
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 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |