Péter Baksa

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 224 total)
  • Author
    Posts
  • in reply to: REQUEST building_​material #18789
    Péter Baksa
    Keymaster

    Hi,

    it isn’t available in GDL.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Profile name in Master Script #18784
    Péter Baksa
    Keymaster

    Assuming 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 SE

    in reply to: Position label in reference to the element #18764
    Péter Baksa
    Keymaster

    Hi, it isn’t possible.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    Péter Baksa
    Keymaster

    Hi, 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 SE

    in reply to: Lenght type moving hotspot in 0,0 #18754
    Péter Baksa
    Keymaster

    This 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 SE

    in reply to: Report Complex Profile Extrusion Surface #18750
    Péter Baksa
    Keymaster

    It looks like this isn’t accessible to GDL.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Report Object Override Surface #18749
    Péter Baksa
    Keymaster

    Hi, it’s the SYMB_MAT global variable.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: "Standing" prism? #18733
    Péter Baksa
    Keymaster

    Hi,

    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 SE

    in reply to: Back referenced layouts #18695
    Péter Baksa
    Keymaster

    It 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 SE

    in reply to: APPLICATION_​QUERY slows down moveable hotspots #18688
    Péter Baksa
    Keymaster

    I 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 SE

    in reply to: APPLICATION_​QUERY slows down moveable hotspots #18683
    Péter Baksa
    Keymaster

    Are you changing any parameter based on stCustomPicFiles_with_prefix? Is it used as VALUES?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: APPLICATION_​QUERY slows down moveable hotspots #18672
    Péter Baksa
    Keymaster

    Hm, 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 SE

    Péter Baksa
    Keymaster

    Hi,

    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 SE

    Péter Baksa
    Keymaster

    WALL_FLIPPED can help in determining which side of the wall is which side of the composite.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Use buttons to select variable from a parameter #18652
    Péter Baksa
    Keymaster

    Method 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

Viewing 15 posts - 16 through 30 (of 224 total)