Polyline in linked dwg file into Revit

Polyline in linked dwg file into Revit

Anonymous
Not applicable
5,214 Views
4 Replies
Message 1 of 5

Polyline in linked dwg file into Revit

Anonymous
Not applicable

Hello everyone

 

I have a short questions that I´ll hope someone out there can answer.

 

I have a dwg file with a polyline, The polyline is drawned with the start segment width set to 0, and the end segment width set to 500.

When I link this dwg file into Revit the polyline is just a straight line where the end and start segment seems to have the same width.

So I´m wondering why it behaves like that and if theres a solution for this?

See the attached file.

 

Appreciate all the help

 

//David

0 Likes
Accepted solutions (1)
5,215 Views
4 Replies
Replies (4)
Message 2 of 5

sureshchotrani
Advisor
Advisor

I tried the same, Revit doesn't reads polyline width. 

 

Kindly know the purpose of this, why are you looking to import polyline with width in Revit?

www.bim-3d-4d-5d.blogspot.com
www.bim-navisworks.blogspot.com
Twitter @SureshChotrani
Give KUDOs if happy & accept solution if post provides solution
Message 3 of 5

ennujozlagam
Mentor
Mentor

hi, i had tried this also and Revit doesn't read. Try to use QLEADER instead of using polyline with start segment. QLEADER managed to read in Revit. hope it helps. thanks





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
Message 4 of 5

alan.quinn
Advisor
Advisor
Accepted solution

I understand your imported Polylines are not appearing in Revit as expected. This is a known issue that the development team is aware of. A common work-a-round is to use a Filled Region, Detail or Model Lines (depending on needs) in Revit. The development team is looking into ways of addressing this but no indication was given on when the code changes will be made or released. I wish I could offer more but at the moment I'm not sure I can. Please let me know if you have any follow up questions or comments.

 

As always thanks for posting. 

Message 5 of 5

RDAOU
Mentor
Mentor

Behavior:

 

Polylines are a very old issue with Revit since it was developed...for some reason Revit seems unable to translate the width/type of polylines (in general) on its own. So how if its 1 line with several segments on 1 linetype and various width for each segment maybe because Revit reads lines, layers and coordinates differently than CAD. 

 

Thinking out loud; from that attached photo it appears that you used a lightweight polyline. As such the vertices don't have a Z value where Z is an essential input in Revit. And LW Plines appear to be one of the few if not the only which has no Z Value (not even 0) And this doesn't exist in Revit... ie: missing input => wrong behavior...Nonetheless, this is my personal assumption and best if Autodesk Development would confirm

 

Suggestion:

 

One known workaround for polylines with uniform width (example: room boundaries; filled regions...): You can inn AutoCAD place the Polylines of similar width/Linetypes on their own AutoCAD Layer and then under "Object Styles >> Imported Objects" tab assign a specific thickness and line pattern to that specific Layer. Then Revit should be easily able to translate it.

 

For Polylines with variable width verticies: (I haven't done this personally but I've seen it on several Revit Blogs) one can resort to scripting a code (.NET) to translate the properties of each segment/vertex in the PLine so Revit can then read it...I think it has to be done pre- Revit API...You may want to check in the AutoCAD forums. I know there are for sure coding methods which can introduce functions like Vertices to Points something like Read Geometry in Python to extract/read/translate the info of X,Y geometries (such as LW_PLines) into an X Y Z for each vertex in the geometry readable by other softwares. 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION