Péter Baksa

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 112 total)
  • Author
    Posts
  • in reply to: GDL: MULTIPLE COMPLEX PROFILES #4750

    Péter Baksa
    Participant

    Hi, please post a sample code.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Sectatrs and so on in Skylights? #4746

    Péter Baksa
    Participant

    Hi, it works for me. Can you give a short example? Which AC version? Floor Plan or Section?

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Railing Panel info #4738

    Péter Baksa
    Participant

    No, there isn’t. Use the offset settings of the panel, and it will be automatically smaller.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Railing Panel info #4735

    Péter Baksa
    Participant

    Sorry, I didn’t notice the name of the global. It’s the set of global variables starting with RAILINGPANEL_ that you need.

    With somewhat custom settings, it is possible that a panel has more than four sides (panels connecting with different heights at a landing, or columns offset from the end of the landing: the corners might be cut off with horizontal planes). To handle these cases too, there is RAILINGPANEL_GEOMETRY that is the contour polygon, and RAILINGPANEL_UNCUT_GEOMETRY that is a four-sided polygon before the cuts.

    RAILINGPANEL_FLAGS[i][2] tells which side of the panel is the i-th edge (1 – bottom, 2 – end, 3 – top, 4 – start) You can derive the height from RAILINGPANEL_UNCUT_GEOMETRY start/end edge.

    The slope can vary on a winding stair. RAILINGPANEL_GEOMETRY can have multiple segments on the top/bottom sides. For wires, the average slope can be computed from the first point of the bottom side and the first point of the end side of RAILINGPANEL_UNCUT_GEOMETRY.

    Slanted/skewed railings (RAILINGPANEL_SLANT_ANGLE, RAILINGPANEL_SKEW_ANGLE) need to be handled carefully.
    Curved panels are also special: RAILINGPANEL_TYPE tells the overall shape of the railing. You might not want to handle curved panels at all.
    Curves are given in a format similar to PolyOperations: start x, y, central angle.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Railing Panel info #4731

    Péter Baksa
    Participant

    Hi, the stair and railing globals don’t contain useful data in the libpart editor, you have to place the element.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: TUBE twisting #4729

    Péter Baksa
    Participant

    Looks like TUBE{2} can’t do it.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Forward Migration #4725

    Péter Baksa
    Participant

    The migration is always run in the newer version of AC, on the new object. The old one doesn’t know anything about the new one. Old libpart GUIDs are listed in the migration table. When a library is loaded, all libparts’ migration tables are read and checked against placed objects.
    Backward migration happens when saving as previous version .pln: the parameter list is saved with the GUID in the migration table listed at that version.
    Some information about migration can be shown: in the Library Developer Menu select Log the Migration Process (then re-open the non-migrated file).

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Forward Migration #4721

    Péter Baksa
    Participant

    Let’s quote that mention from AC-Talk here too, maybe it will be easier to find.

    Automigration is a special type for migration: it simply does an ID change, without running migration scripts. It is useful to eliminate migrations from new elements, and create step-by-step migration logic through many versions.
    _________________
    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Area of a fill / prism #4715

    Péter Baksa
    Participant

    In Archicad yes, a fill can display its area, and IES can list the surface of an object.
    In GDL no, you have to calculate it. If the polygon contains no holes, and only straight edges, the Shoelace formula is simple to code.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Forward Migration #4714

    Péter Baksa
    Participant

    Hi,

    If I understand right, you are placing a new element in the new AC version. Element defaults aren’t migrated this way, only placed elements. The settings dialog doesn’t store the parameters of the default object, just reads the actual default values from the library. Favorites I think should be migrated.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: REVOLVEDSHELL resolution #4710

    Péter Baksa
    Participant

    Maybe REVOLVEDSHELLANGULAR{2} with status 2?

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Profile in GDL #4701

    Péter Baksa
    Participant

    Hi all, some basic tutorial about profiles is available at other docs. They’re not covering all details, but a good point to start.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: REVOLVEDSHELL resolution #4680

    Péter Baksa
    Participant

    Hi, try REVOLVEDSHELLANGULAR. Does it do what you need?

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: SPLIT #4679

    Péter Baksa
    Participant

    SPLIT can only process numbers delimited with whitespace.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

  • in reply to: Status code: sharp to smooth #4678

    Péter Baksa
    Participant

    You have to set the material on each edge, 0 uses the current pen. Yes, side_material looks redundant, I don’t know why it is there.

    Péter Baksa
    Software Engineer, Library Team
    GRAPHISOFT SE

Viewing 15 posts - 1 through 15 (of 112 total)