David Maudlin

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: WALLHOLE ID Failing when saving window #18192
    David Maudlin
    Participant

    James:

    I just tried this in AC22 and AC23 and it works as expected. I selected the slabs in the 3D Window and used the Window… command to save the slabs as a window library part.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Profile in GDL #4688
    David Maudlin
    Participant

    Frédéric:

    There is a thread on ArchiCAD-Talk about this here: Profiles in GDL.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Custom Stair Label #4342
    David Maudlin
    Participant

    Péter:

    Thanks for posting about the Library Developer commands, I was not aware they were there (I remember there was a hack for getting a Special Menu many versions ago). For those using an older imported Work Environment, the commands can be found in the WE under All Commands by Theme > 59 Library Developer (the Menus: List all menus in alphabetical order, find the Library Developer menu did not appear in my non-standard WE).

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Hiding vertical lines in holes in Prisms #3277
    David Maudlin
    Participant

    Barry:

    Look at the other side of the Prism.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Hiding vertical lines in holes in Prisms #3271
    David Maudlin
    Participant

    James:

    This will work:

    hA = A/2

    PRISM_ 8, 1,
    0, 0, 15,
    A, 0, 15,
    A, B, 15,
    0, B, 15,
    0, 0, 79,
    A, 0, -1,

    hA, hA, 900,
    hA/2, 360, 4013

    Maybe one of the Graphisoft folks can chime in if there is a better solution, or if this has an inherent problem.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Centerpoint in simpel 2D symbol #2996
    David Maudlin
    Participant

    Anders:

    In the US library is an Object “Sign Handicap 20” which uses the Poly2_{2} command to draw the handicap symbol. It has hard coded x & y points rather than parametric ones like yours, but otherwise the concept is the same. See if you have this object or can search for it or a similar one to look at. Some information about General polygon can be found on this site 05 Basic 2D elements. Maybe the moderators can point to better examples.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Centerpoint in simpel 2D symbol #2993
    David Maudlin
    Participant

    Anders:

    Since you have now defined all the points using the Line2 command, you can use these same points with one of the Poly2_ commands (which one you choose depends on the amount of control you want over the fill). The Poly2_ command can draw both the fill and its outline (look at the frame_fill options) so you will be able to remove the Line2 commands when done.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Issue with downloadable older object #2988
    David Maudlin
    Participant

    Zoltan:

    Those MVO Panels are added when a library part of the Library Global Settings subtype is part of the loaded libraries. You can use the Open Object by Subtype… command to see which ones are loaded: in the dialog box look at General GDL Object > Documentation Element > Drawing Symbol > Library Global Settings. You can then remove the one that is creating the panel from your loaded libraries. But the library part will still have code that reads the MVO Settings, so I don’t know if you will need to modify the code of the Basin Built-In 02 so it plays nice with the AC20 MVO Settings.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Centerpoint in simpel 2D symbol #2982
    David Maudlin
    Participant

    Anders:

    You could solve this with the Add2 command (there is an Add2 command at line 5 of your script). The values (x, y) will need to be parametric depending on the desired size and the Mul2 values. It will take a bit of thinking and math to get the desired result. Going from a single drawn object to a parametric one is not simple, so this is why I prefer to code it.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Centerpoint in simpel 2D symbol #2979
    David Maudlin
    Participant

    Anders:

    You will need to rewrite the code so the center of the rectangle is at the 0, 0 point. So the lower left will be two negative numbers (-5*bb, -1.5*bb), the upper right two positive numbers (5*bb, 1.5*bb). I think this is simpler than trying to use the Add2 command to adjust the center.

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

    in reply to: Finding LIBRARYGLOBALS names #2647
    David Maudlin
    Participant

    Bruce:

    One option is to open the Library Global Settings subtype library part which establishes the globals. Go to Open Object by Subtype > General GDL Object > Documentation Element > Drawing Symbol > Library Global Settings to find the Library Global Settings subtype library parts in the loaded libraries. As Dominika mentioned, the two in the AC library are “LG_DWSymbSettings” for Door and Window symbol settings panel, and “LibraryGlobals13”.

    HTH,

    David

    David Maudlin / Architect
    Washington, D.C.
    AC 22 - Mac OS

Viewing 11 posts - 1 through 11 (of 11 total)