How to Importing Layers

How to Importing Layers

gemma.humphray
Observer Observer
3,955 Views
9 Replies
Message 1 of 10

How to Importing Layers

gemma.humphray
Observer
Observer

Hi,

 

I have been using Draft sight and set up several layers in draft sight which correspond to my print configuration. I want to import this layers into Autocad so that I can use these layers in Autocad too. I have managed to export the layers to a .xml file but I am unable to import these into Autocad. Does anyone have any advice on how i can do this.

 

I have tried importing the file using the CUI and importing the file as a customisation file. I was able to import the file this way but then cannot access the layers. If anyone has any suggestions that'd be great 😄

 

Thanks in advance

0 Likes
Accepted solutions (1)
3,956 Views
9 Replies
Replies (9)
Message 2 of 10

cadffm
Consultant
Consultant

Hi,

 

sorry,

but layers have nothing to do with an XML or CUI, so we currently don't know what you are talking about!
Layers are part of a drawing file (DWT/DXF/DWG), nothing else.
You open the file (whether in DraftSight or AutoCAD) and you're done.

So: what do you really mean by "layer" ???

You probably can't use menus.
Without having tested it, but that would be very unlikely.

Can you take screenshots of what you mean?
Or you said XML, show us your XML!
Maybe this will help us to formulate (and answer) your question correctly.

Sebastian

0 Likes
Message 3 of 10

Kevin.Spear
Advisor
Advisor

Im not familliar with draftsight. But if you can save your drawing as a DWG file, then you can simply open the file in AutoCAD.

Thanks
Kevin

Kevin Spear, PE
0 Likes
Message 4 of 10

cadffm
Consultant
Consultant

@Kevin.Spear  schrieb:

Im not familliar with draftsight.

This program is 1. Very good 2. very cheap 3. and the native file format is DWG like in AutoCAD too.

Because of this, I guess the TO means something different than "Layers",

a menu or toolbar, robbin context or like that.

 

Take a look

https://sourceforge.net/software/compare/ARES-Commander-vs-DraftSight-vs-BricsCAD-vs-AutoCAD/

Sebastian

0 Likes
Message 5 of 10

gemma.humphray
Observer
Observer

I think this is my problem. Its not the layers of the drawing but more so I've set up a menu bar in draftsight which has all my layers on it and then I can essentially import these to each drawings so that my layers are coherent across all drawings. I wanted to achieve the same in Autocad but I'm not sure if this is possible

0 Likes
Message 6 of 10

Kevin.Spear
Advisor
Advisor

That is called a template in autocad. In AutoCAD open the DWG file with the layers and SAVEAS a drawing template. Next time you need to make a new drawing, use the NEW command and pick the template you just created.

Thanks
Kevin

Kevin Spear, PE
0 Likes
Message 7 of 10

gemma.humphray
Observer
Observer

Will all my layers be saved into this template?

 

0 Likes
Message 8 of 10

Kevin.Spear
Advisor
Advisor
Accepted solution

Yes, a template is the same as a drawing except it becomes the starting point for a new drawing. If you template contains linework, then the new file will also contain that same linework. 

 

IF you don't want linework in the template, delete it then save as a template.

Thanks
Kevin

Kevin Spear, PE
0 Likes
Message 9 of 10

tboehler
Collaborator
Collaborator

For a good start to a template or for some good examples - open some of the AutoDesk supplied templates (*.dwt files).  Typically found in the support folders.  Do a search for *.dwt.

 

A template can have the dwt or dwg extension.  You can save a dwg as a dwt. 

 

Cheers!

0 Likes
Message 10 of 10

cadffm
Consultant
Consultant

A menu is not called template.

A template is, as in DS too, a good way to set up layers, styles, and so on 

for NEW files.

 

-

 

If you want to import / create layers in exist drawings,

as in DS,

you can create Layers by a menu macro (which create layers)

or a macro which insert a file what contains your Layers.

 

Again: share your XML, so we can see the content 

and our answers will match your task.

Sebastian