Get properties of alignments using Autolisp

Can anyone tell me whether it is possible to read out the properties of a horizontal alignment and a vertical alignment using Autolisp in order to be able to process them further? By properties I mean the alignment parameters (tangent intersection point coordinates, curve radii, breakpoint station/height, fillet radius, etc.).

You could of course output a LandXML and then probably read it with Lisp to get the information. But the direct way would probably be easier.

I am aware of the Civil Site Design plugin. But its not a solution here. Thanks in advance.

Comments

  • We’re playing with Alignments here. Python wrappers around BRX stuff, only for the really adventurous

    https://github.com/CEXT-Dan/PyRx/discussions/34#discussioncomment-9111498

    full disclosure, I have no idea about the Civil stuff, Sebastian is the expert, I just wrap stuff lol



  • ALANH
    edited May 23
    I have a  CIV3D answer will have a look at doing same for Bricscad. yeah wow use this on a alignment.

    (dumpallproperties (car (entsel "\nPick an alignment")))

    I think going down the python path would be easiest.

  • Thank you for your answers. I have tried it with “dumpallproperties”. But that doesn't give me any of the information I need. Even if it did, it would be a huge effort to store the values from the return in variables. What I get is a big pile of text. I thought I get the information with “entget” from the association list. But I don't know if the parameters are in the database at all.

    I only have Bricscad Pro so I can't use Python in general. I have no idea what you are trying to do on github.
  • Its_Alive
    edited May 24

    “I have no idea what you are trying to do on github.”

    Wrappers around BRX to make BRX more accessible, analog to .NET, but in Python

     “I only have Bricscad Pro”

    Yep, should work.

    "entget"

     I noticed some of the Civil objects do not have DXF filers, this means the “entget” is not an option.

    Your choices are BRX, .NET... .NET is probably the best option because Bricsys directly supports it and may have ready made samples.

  • @Felix_H: Samples from BRXSDK are partially implemented in PyRx. Have a look at samp_alignmentreport for starters. I had taken info from the SDK (BRX25.2.02.0\samples).