• TwitterFacebookGoogle PlusLinkedInRSS FeedEmail

Dwg Importation Problem

26.02.2020 
Dwg Importation Problem Average ratng: 3,4/5 1320 reviews

I've got a CATIA drawing(note: not model or solid) that I'm importing into NX to do some work with. Exported as DXF from Catia. For whatever reason all of the lines are in a group, then in individual 'Block' within that group.

Dwg Importation Problem

I just want them all accessible in one sketch so I can edit and modify at will. I want them to appear as if they were created in the sketch. Creating new lines doesn't snap to the ones that are in the group. Not really sure what I've got or how to get where I want to go. It may have to do with how they were imported, whether I opened the file as a dxf or imported it into a new model.

Dwg importation problems

Not sure off the top of my head right now how I did it. I've got a CATIA drawing(note: not model or solid) that I'm importing into NX to do some work with.

Exported as DXF from Catia. For whatever reason all of the lines are in a group, then in individual 'Block' within that group. I just want them all accessible in one sketch so I can edit and modify at will. I want them to appear as if they were created in the sketch. Creating new lines doesn't snap to the ones that are in the group. Not really sure what I've got or how to get where I want to go. It may have to do with how they were imported, whether I opened the file as a dxf or imported it into a new model.

Dwg Importation Problems

Not sure off the top of my head right now how I did it.NX is not in front of me but I'm thinking: Select all - convert to curves (yes will break up splines into many arcs. But you can combine the back to splines as needed) then assign them to a sketch?

Dwg Importation Problems In Rhino

I've been tasked with importing an Autocad/AutocadLT 2007 dwg file into Visio 2010 to create a floor plan. I want to link each space in the Visio floor plan to an Excel spreadsheet. Each space will need to have an identifier – e.g. Room number – in its properties in Visio and in its corresponding record on the spreadsheet. I’m dealing with a lot of rooms, so I’d rather not have to number each space in Visio manually.

All of the rooms on the floor plan in the dwg file are polylined and all of the polylines are on the same layer of the dwg file. This layer contains nothing but the polylines.

I also have another layer that has room numbers for each polylined room. The only thing on this layer are the room numbers as mtext objects. As far as I can tell, the mtext objects aren’t linked to their respective polylines. After I insert the dwg into a new Visio document, using InsertCAD Drawing, I right click on the drawing and choose CAD Drawing ObjectConvert.

In the dialogue box that opens, I check the box for the polyline and room number layers. I then select the polyline layer and go to PlanAssign Category and choose “space”, which converts all of the polylines to spaces.

Is there a way to associate a room number with each polyline in AutoCad? Is there any way to map the room numbers on the room number layer in the Visio file to the Space ID property of the spaces I created? I tried creating a block in AutoCad, on the polyline layer, consisting of a single polyline and a block attribute that stored the room number as a value. When I selected the polyline layer in Visio and went to PlanAssign Category and chose “space”, to convert all of the polylines to spaces, the block was not converted to a space. It became an object in Visio that had its room number stored as a value, but it wasn’t a space. Can I store the room number in AutoCad as xdata associated with each polyline and somehow have Visio recognize it as a property of each space? Is there any way to create a custom property for polylines in AutoCad that the room number can be stored in?

I’m new to this. Any help would be greatly appreciated.

Hi, Thanks for your reply. I looked at both of the sites you referenced in your reply. I'm able to import the dwg file to Visio and turn the polylines from the dwg into Visio shapes, but I need to assign each shape a room number or id in its properties in order to link it to data in an Excel spreadsheet. The code you referenced seems to be able to extract information from the shape properties to Excel, but I need to get the room number for each shape into its properties first.

I was hoping this could be done automatically. By the way, I used the instructions at and to bring the dwg file into Visio and it worked very smoothly.

A posting on lists an additional step to dwg importation to bulk import room numbers from a dwg file into Visio by setting each room number as an attribute of each poly line in AutoCAD. This requires creating a block made up of the polyline and a room number attribute that doesn't result in a space object being created in Visio when I follow the steps listed above. Am I missing something?