Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 6 of 6
Like Tree4Likes
  • 2 Post By ryntau
  • 1 Post By ryntau
  • 1 Post By ryntau

Thread: Convert CAD polylines to area or room boundary lines?

  1. #1
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    Location
    St. Louis
    Posts
    401
    Current Local Time
    02:59 AM

    Convert CAD polylines to area or room boundary lines?

    I'm hoping to be able to take a CAD drawing (where all the lines are closed polylines) and simply generate either room separation or area boundary lines. Currently, we need to draw or use the pickline tool to create every line and then place every room/area.

    This cad drawing is generated by a different program used for workplace strategist, so i can't just shake my fist and say "use Revit from the beginning!"

    I've tried following this method:
    http://dynamobim.org/forums/topic/cr...r-2d-linework/
    but it is getting hung up on the Element.Geometry node
    Attached Thumbnails Attached Thumbnails Convert CAD polylines to area or room boundary lines?-roomseparationcad.png  
    Last edited by ryntau; August 18th, 2017 at 04:15 PM.

  2. #2
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    Location
    St. Louis
    Posts
    401
    Current Local Time
    02:59 AM
    Quick answer, for the method I linked to, the CAD drawing needs to cleaned out so only the polylines are there. No text, not hatches or any other extraneous items. Even then it missed about 10% of the lines, but it's still a vast improvement on drawing the whole thing over.
    cganiere and amoursol like this.

  3. #3
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    Location
    St. Louis
    Posts
    401
    Current Local Time
    02:59 AM
    I think the biggest problem with this method is the duplication and overlapping of lines. Since each room was a polyline, there are essentially two lines on top of each other, everywhere, creating a ton of warnings.
    amoursol likes this.

  4. #4
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    Location
    London, United Kingdom
    Posts
    612
    Current Local Time
    10:59 AM
    You could potentially look into pulling Start and End points of lines, removing duplicates and rebuilding curves from that

  5. #5
    Member
    Join Date
    September 19, 2015
    Posts
    163
    Current Local Time
    10:59 AM
    You can also take a look at Curve.RemoveDuplicateCurves from BimorphNodes

  6. #6
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    Location
    St. Louis
    Posts
    401
    Current Local Time
    02:59 AM
    Quote Originally Posted by amoursol View Post
    You could potentially look into pulling Start and End points of lines, removing duplicates and rebuilding curves from that
    I'm not sure if that would work completely because the lines are different lengths. So a polyline of the corridor is really long, while each polyline edge of the rooms are short.. they stack right on top of each other, but aren't exactly "duplicates" in that they have dissimilar start and end points, they just occupy the same line.

    My solution so far: isolate and explode polylines in AutoCAD, use OVERKILL command which seems to cleanup a lot of duplicates there. Link the CAD into revit, and run the dynamo script above to generate about 95% of the Area Boundary lines. There are still duplicates which produce a number of warnings, which cause a couple of issues.

    Issue #1: Drawing the other 5% Area Boundary lines by selecting a line from CAD is really slow, i suspect that having a lot of warnings cause this.
    Solution: Draw those lines as drafting lines, and run a quick dynamo script that converts them to Area Boundary lines.

    Issue #2: Placing Areas is really slow, also suspect the warnings, but it could just be that there are over 2000 areas in this one level.
    Solution: Place a Generic model family inside each area. (Clicking and placing 10 families takes a few seconds. Clicking and placing 10 areas was spinning for over a minute. ) Run a dynamo script that reads the XYZ coordinates of those families, and drops an area at the same spot, in a selected view.
    amoursol likes this.

Similar Threads

  1. Is it possible to hide room area lines
    By joewallace in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: June 1st, 2016, 08:28 AM
  2. convert model lines to room separation lines
    By Ning Zhou in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: May 2nd, 2016, 09:31 AM
  3. Area boundary lines - multiple style options?
    By KWilkinson in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: August 12th, 2014, 03:08 PM
  4. locking area boundary lines after they've been drawn - possible?
    By calle_05 in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: September 27th, 2012, 02:14 PM
  5. connect model lines (polylines)
    By tvatvn in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: July 20th, 2011, 06:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •