Importing issue..
Moderators: SDS, support, admin
-
- Posts: 2
- Joined: 04 May 2010, 17:19
Importing issue..
I'm importing all of the following entity types (LWPolyline, Line, and Polyline) from my DWG or DXF files into my application. The problem I have is that once all the lines are brought into my application and drawn there is such a huge space between them, I cant scale them to the screen (this should not be).
I belive the problem is being caused by the second layout in the drawing file which has a ledgend and map grid. I belive it has lines in it that start at the 0,0 axis. The model layout (which I want) all the entities are somewhere in the range of 300,000X 200,00Y. So u can see this stretches the image out and makes it unuseable.
I have read in another post that I cant select entities solely on their layout.. which I have painfully discovered.. Is there a way to only retreive entites from the model layout?
I belive the problem is being caused by the second layout in the drawing file which has a ledgend and map grid. I belive it has lines in it that start at the 0,0 axis. The model layout (which I want) all the entities are somewhere in the range of 300,000X 200,00Y. So u can see this stretches the image out and makes it unuseable.
I have read in another post that I cant select entities solely on their layout.. which I have painfully discovered.. Is there a way to only retreive entites from the model layout?
Re: Importing issue..
Hello.
The DXF or DWG file contain model_space and possibly some layouts. The number of layouts can vary from zero to the big amount. In AutoCAD conception layout is a vizualization of the part of model_space that can be displayed using viewport. You can select entities by layout (these entities just remain on model_space). Mostly you can't select entity on some layout because this entity belongs to model_space. However the layout can contain its own entities that doesn't belong to model_space. In that case the information about such entity can be found within corresponded VIEWPORT from BLOCKS section.
To answer your question properly we need to check your file and import code. You can post it to the forum or send to support@cadsofttools.com. Also you can try opening your file using one of our demo applications.
Alexander.
The DXF or DWG file contain model_space and possibly some layouts. The number of layouts can vary from zero to the big amount. In AutoCAD conception layout is a vizualization of the part of model_space that can be displayed using viewport. You can select entities by layout (these entities just remain on model_space). Mostly you can't select entity on some layout because this entity belongs to model_space. However the layout can contain its own entities that doesn't belong to model_space. In that case the information about such entity can be found within corresponded VIEWPORT from BLOCKS section.
To answer your question properly we need to check your file and import code. You can post it to the forum or send to support@cadsofttools.com. Also you can try opening your file using one of our demo applications.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support