Announcement

Collapse
No announcement yet.

Convert CAD polylines to area or room boundary lines?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 Files
    Last edited by ryntau; August 18, 2017, 04:15 PM.
    Ryan Taube
    BIM Manager - Clayco Construction | Lamar Johnson Collaborative

    #2
    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.
    Ryan Taube
    BIM Manager - Clayco Construction | Lamar Johnson Collaborative

    Comment


      #3
      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.
      Ryan Taube
      BIM Manager - Clayco Construction | Lamar Johnson Collaborative

      Comment


        #4
        You could potentially look into pulling Start and End points of lines, removing duplicates and rebuilding curves from that

        Sol Amour

        Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
        Portfolio Website @ Cargo Collective

        Comment


          #5
          You can also take a look at Curve.RemoveDuplicateCurves from BimorphNodes

          Comment


            #6
            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.
            Ryan Taube
            BIM Manager - Clayco Construction | Lamar Johnson Collaborative

            Comment

            Related Topics

            Collapse

            Working...
            X