2023-03-09 07:40 AM
I want to know the name of the parameter variable in the parameter script easily. Is there any easy way to find it?
Right now I want to know the name of the image above.
Solved! Go to Solution.
2023-03-10 07:52 AM
The only suggestion I have is to open the script for the door.
Look at the Interface script.
You may have to open some of the door macros to find it as Graphisoft like to CALL macros in their doors and windows.
Once you have found the interface script, you will need to find the page for 'Shape'.
Then you should be able to see the parameter names they use.
Barry.
2023-03-10
09:36 AM
- last edited on
2023-03-13
04:53 AM
by
Laszlo Nagy
Is there any detailed explanation?
call "gs_general_lt_door_macro"
Go to gs_general_lt_door_macro and in interface
! -------------------------------------------------- ------------------------------
! Independent pages
! -------------------------------------------------- ------------------------------
if bShapeTabpage then
uiUsedPageIDs[idxPage][1] = iUiID_Shape : uiUsedPageIDs[idxPage][2] = iParID_Shape
uiUsedPageNames[idxPage][1] = `Shape` : uiUsedPageNames[idxPage][2] = "uiTab_DoorShape_hl(1)"
idxPage = idxPage + 1
endif
This is the only `Shape` item. How do I find it?
Should I just give up on finding parameters and just create and use them? ^^
2023-03-10 10:07 AM - edited 2023-03-10 10:07 AM
I had a poke around and I couldn't find the 'Shape' page in the maze of macros.
Just scanning through the parameter list in the door object itself I could see these.
They are the ones you show in your image.
Barry.
2023-03-10 11:32 AM
Your answer really helps me.
thank you
As expected, the translator has many shortcomings in conveying my heart. ^^
2023-03-10 11:34 AM
We hope that beginners can easily find parameter variable names. ^^
2023-03-10 12:24 PM - edited 2023-03-10 01:55 PM
I'm sorry ^^
2023-03-16 11:48 AM
One way to find it relatively quick is writing print GLOB_MODPAR_NAME at the start of the object, save it, change the parameter on the ui, and check the session report window.
2023-03-16 11:53 AM
Wouldn't it be rude if I ask for a sample code because I'm weak in understanding?
2023-03-17 02:25 AM
Just type... PRINT GLOB_MODPAR_NAME ... at the beginning of the script.
Amend the parameter in your placed object.
Then FILE menu > Info > Session Report to see the name of the parameter you just changed.
If you are using the default Graphisoft library, you will have to 'Save As' a new object after you have edited the script.
Then place that new object to test.
Then you can simply discard that object when you have finished with it.
Otherwise you will have to extract the LCF library, load that extracted library and unload the LCF library, amend the object to run the test, then unload that extracted library and reload the original LCF file so you are back to normal operation.
Barry.