Chris Gilmer

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Access to Minimum Space with GDL #4643
    Chris Gilmer
    Participant

    Hey Péter!

    This is the answer I was looking for. I am so new to the ArchiCAD automation that I am still figuring out WHERE to do stuff. And fighting decades of AutoCAD automation experience. I don’t expect to struggle with the actual syntax of making stuff happen, if only I know where to put it.

    I also just now noticed there is a dining table object by Graphisoft that shipped with 22. It will adjust minimal space when the chairs are pushed in to or pulled away from the table. I am going to dig in to that and study how that is accomplished in the 2D script. Or elsewhere…

    Thanks so much for giving me a better understanding of the step I needed before step 1.

    The more you know…
    – chris

    - chris
    JHP Architecture / Urban Design
    Dallas, TX

    in reply to: Access to Minimum Space with GDL #4635
    Chris Gilmer
    Participant

    Thanks for the reply Barry. I have seen where I can toggle visibility of Minimal Space with MVOs. And you are correct that it is a global setting – all or nothing.

    I am new to ArchiCAD and GDL, but have decades of experience customizing AutoCAD and Excel with ObjectARX, LiSP, and VBA. Maybe my bigger GDL question should be ==> Are there GDL methods to access any of the native properties of individual objects? Are there GDL methods to set or modify any of the native properties of individual objects?

    I know the object model is exposed to varying degrees in many modern day softwares to include the specific objects that are unique to the software. I can programmatically change the layer of a line in AutoCAD. I can programmatically change the width of a column in Excel. I guess I am naturally expecting to access and adjust variables like msOpeningDepth, msOpeningSideWidth1, msOpeningSideWidth2, msOppositeDepth, msOppositeSideWidth1, and msOppositeSideWidth2 in an instance of a door in ArchiCAD.

    And is GDL the way to do this? Should I be looking more at C++ or the Python extension?

    Any insight to the best approach or any possible approach to doing this is appreciated.

    – chris

    - chris
    JHP Architecture / Urban Design
    Dallas, TX

    in reply to: Access to Minimum Space with GDL #4632
    Chris Gilmer
    Participant

    Hello Gergely,

    Thanks for the response. I have changed the minimum space settings of a placed instance of a door using the methods you describe above. However, what you describe is a manual, mouse clicking effort. I was looking for what and where I could change values for minimum space for a placed instance by menu selection and in an automated way.

    The idea is to present a menu with each door for the approach choices [“Front”, “Hinge”, “Latch”, “Latch w/ closer”]. Each of these approach choices has different settings for the three minimum space parameters of each side of the door. The user makes a single selection of the appropriate approach and all three parameters for that side of the door [Depth, Side Width 1, Side Width 2] are adjusted.

    It sounds like I have found these variables in the object editor. I am looking for the same variable in the settings for each door.

    I am just starting GDL scripting and cannot Google the right thing to find access for what parameters to change and how to access them. Or is this even possible?

    – chris

    - chris
    JHP Architecture / Urban Design
    Dallas, TX

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