AutoCAD routine for calculating area's and centroids

Discussion in 'Software' started by klaas, Nov 29, 2010.

  1. klaas
    Joined: Feb 2009
    Posts: 26
    Likes: 2, Points: 3, Legacy Rep: 24
    Location: NL

    klaas Junior Member

    For estimating sailarea's and centre of efforts I was wondering if anybody does have an autoCAD routine (lisp) for instance, that's capable of automatically calculate:

    - the area's of different polylines/regions
    - export this area's to a table
    - place circle's or pre defined blocks at each centroid
    - place a circle or block at the total centroid?

    Or are there other smart way's to do this?
  2. alidesigner
    Joined: Nov 2006
    Posts: 187
    Likes: 6, Points: 0, Legacy Rep: 93
    Location: Australia

    alidesigner Senior Member

    The autocad VBA acadregion class has both area and centroid properties so a VBA macro will be an easy option for you.
Forum posts represent the experience, opinion, and view of individual users. Boat Design Net does not necessarily endorse nor share the view of each individual post.
When making potentially dangerous or financial decisions, always employ and consult appropriate professionals. Your circumstances or experience may be different.