Layer names when exporting a DWG file

Layer names when exporting a DWG file

manu.seg
Explorer Explorer
2,880 Views
14 Replies
Message 1 of 15

Layer names when exporting a DWG file

manu.seg
Explorer
Explorer

I all,

Your help would be greatly appreciated on an issue I have while exporting to DWG.

 

When I export from Revit all the layers names containing a period ( . ) in my DWG Export Setup is replaced by an underscore ( _ ) when the DWG is created.

See  attached images. Is it possible to keep the period ( . ) in the name? I am supposed to respect a template that I have been given.

 

DWG export setup.JPGDWG exported layers.JPG

0 Likes
2,881 Views
14 Replies
Replies (14)
Message 2 of 15

Viveka_CD
Alumni
Alumni

Hi @manu.seg

 

Please see mapping settings for a DWG or DXF export setup

 

Can you share a file with us to test and the steps you followed so that we can reproduce the issue and investigate further?

I can send you a private folder if you'd like.

 

Looking forward to your reply update.

 

Regards,

0 Likes
Message 3 of 15

manu.seg
Explorer
Explorer
Thanks for your quick answer.

My model is 88 mb, so it might be better if you send me a shared folder
link.

Thanks
0 Likes
Message 4 of 15

Viveka_CD
Alumni
Alumni

Hi @manu.seg

 

I shared an upload link with you.

Let me know if you have trouble accessing the folder.

 

Regards,

0 Likes
Message 5 of 15

manu.seg
Explorer
Explorer

I created a simplified model to illustrate what I'm talking about.

Here is the Revit and DWG file.

Note the layer name and modifier for WALLS in my DWG export setup and the
name actually exported to Autocad.



Thanks

0 Likes
Message 6 of 15

Viveka_CD
Alumni
Alumni

Hi @manu.seg

 

Thanks for sharing these files.

 

I will follow up with an update.

 

Regards,

0 Likes
Message 7 of 15

Anonymous
Not applicable

@Viveka_CD, any update on the period exporting layers as an underscore conversion issue? 

0 Likes
Message 8 of 15

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

Thanks for checking in!

I'm sorry that this issue has fallen through the cracks. Let me check back with the dedicated resource and follow up.

 

Regards,

 

 

Message 9 of 15

Anonymous
Not applicable

Thank you 🙂

0 Likes
Message 10 of 15

Anonymous
Not applicable

Hello @Viveka_CD,

 

Any update on this?

 

Thanks!

0 Likes
Message 11 of 15

manu.seg
Explorer
Explorer

No, I have sorta gived up, they keep saying they will come back to me on the issue, but nobody does. 

0 Likes
Message 12 of 15

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

Sorry, this is taking so long!

 

I checked back again with the team working on your issue.

They were able to successfully export without any issues.

 

They have requested a screencast and the latest journal to investigate further.

 

Regards,

 

0 Likes
Message 13 of 15

Viveka_CD
Alumni
Alumni

Hi @manu.seg, @Anonymous

 

I'm checking again with AutoCAD specialists - 

Some ACAD routines don't like specific punctuations (.)  That's why they may be replaced.

 

 

Meanwhile here's a forum post that was shared (an article that suggests (.) periods are problematic)

I'll update when I hear more from the team.

 

Regards,

 

 

0 Likes
Message 14 of 15

Viveka_CD
Alumni
Alumni

Hi @manu.seg, @Anonymous

 

I wanted to share a recent update -This issue has been identified as legacy bug - I will keep you posted of any progress.

 

Regards,

 

0 Likes
Message 15 of 15

Anonymous
Not applicable

 

(defun c:Rename_Layer ( / Lay_name)
(vl-load-com)
(vlax-for layer (vla-get-layers (vla-get-activedocument (vlax-get-acad-object))) 
   (setq Lay_name (vla-get-name layer))
   (setq Lay_name (vl-string-subst "." "_" Lay_name))
   (vla-put-name layer Lay_name)
)
)

is a LISP by @dbhunia that can be run in AutoCAD that changes all underscores in the layer manager to periods - not a solution, but a temporary workaround for the meanwhile.

 

Thanks @Viveka_CD - highly appreciated!

0 Likes