Forum Replies Created
-
AuthorPosts
-
Péter BaksaKeymaster
Hi,
it isn’t available in GDL.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterAssuming with this naming scheme the surfaces are specific to the library parts: create the surfaces from the library parts or a MASTER_GDL. You can then use a string type parameter to select the surface, and transform the name into another string.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterHi, it isn’t possible.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterHi, ASSOCLP_NAME doesn’t work in parameter sccript.
Check this table before using a request in parameter script.Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterThis is what you need:
HOTSPOT2 0, 0, unID, A, 1+256 HOTSPOT2 A, 0, unID+1, A, 2 HOTSPOT2 -1, 0, unID+2, A, 3
For the base hotspot 1+256 is ok.
The moving hotspot 2 needs to be at the edited length from the base.
The reference hotspot 3 must be at the opposite direction from the base.Here is a short tutorial about hotspots.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterIt looks like this isn’t accessible to GDL.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterHi, it’s the SYMB_MAT global variable.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterHi,
RULEDSEGMENTED can be used for sideways extrusion, but I think rotating a prism is easier. GDL commands are designed to be used with transformations, there aren’t duplicates for different directions.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterIt turns out it wasn’t designed to be used by library parts.
When AC_BackReferenceGUIDList[1] is used in a special autotext – “guid” where separator is a string and guid is AC_BackReferenceGUIDList[1] referring to the drawing title – then it is replaced with the autotext equivalent of the guids in AC_BackReferenceGUIDList[2-…] adding the separator between them.
That is the only possible use of it, single GUID’s can’t be written as autotext.
The user can select the referenced drawings after clicking Back Reference button in the drawing settings dialog on the Title tab. Theoretically you could filter AC_BackReferenceGUIDList in the parameter script, but that would interfere with this dialog.Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterI am not sure, maybe it is related to the VALUES command, but that is just a wild guess.
Maybe you could try CUSTOM_POPUP_INFIELD in the UI script, then VALUES is not needed, and the UI script surely isn’t run in feedback mode.Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterAre you changing any parameter based on stCustomPicFiles_with_prefix? Is it used as VALUES?
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterHm, what are you doing with the result? If it is stored as an array in a parameter, you might still use it GLOB_FEEDBACK_MODE.
What ArchiCADLibrary does is it calls the request in ARCHICAD_Library_Master (in subtype “Library Master”), which is only run when the library is loaded. The results are set with VALUES to a parameter. All libparts that have the same parameter get their values from the Library Master.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEMarch 31, 2020 at 11:28 in reply to: Are there parameters for Monolith Stair Structure's surface/bmat? #18669Péter BaksaKeymasterHi,
No, monolith structure isn’t a library part, so you don’t have information about it’s parameters in a label.
It’s properties are accessible, try the “Classification and Properties Label” for a demonstration.
It is possible to define a property whose value is an expression, and this expression can be the building material of the object. Though currently stair structure surfaces aren’t available in a property expression.Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterWALL_FLIPPED can help in determining which side of the wall is which side of the composite.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SEPéter BaksaKeymasterMethod 5 is a simple pushbutton, it only has on/off states.
With method 4 or 6 more states are available, but you have to draw the pictures on the buttons, just giving a string is not possible.
All options go in the same statement:ui_infield{3} "existing", 0, 100, 100, 20, 4, "", 0, 0, 0, 0, 0, 0, 0, "one", 1, 0, "two", 2, 0, "three", 3
And setting the options in parameter script is also necessary:
values "existing" 1,2,3
To use strings code many boolean buttons, which are conected in the parameter script and only one of them can be selected.
Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE -
AuthorPosts