Hi folks,
I try to get import a 'DXF' file into my project by Automation work.
How can I tell this methode to import the file as '2D Draft' ?
At the moment I get the file imported as Part. And the content of the part is empty.
Any idea ??
ImportWithOptions
Moderators: remi77, jacs, Daniel
-
- Master Corporal
- Posts: 39
- Joined: Fri Oct 02, 2009 9:46 am
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 7.8
- Location: Germany
ImportWithOptions
Greetings
Chris
Chris
-
- Chief
- Posts: 107
- Joined: Mon Mar 26, 2007 9:40 am
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 6.26
- Location: The netherlands
- Contact:
Re: ImportWithOptions
There is a getimporteroptions if I am wright. You can read and write these option before the import. Maybe there is a option available to switch to 2D document equivalent to the option in the gui.
Regards
Mark.
Regards
Mark.
-
- Master Corporal
- Posts: 39
- Joined: Fri Oct 02, 2009 9:46 am
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 7.8
- Location: Germany
Re: ImportWithOptions
Hi Mark,
Thank you for your answer.
Unfortunately, I have already tried this methode, and there is no option to define the import as 2D document.
And.....
Is there a possibility to define "all" layers to import in the importer options ?
Then it will be able to have elements on the imported part.
Greetings
Chris
Thank you for your answer.
Unfortunately, I have already tried this methode, and there is no option to define the import as 2D document.
And.....
Is there a possibility to define "all" layers to import in the importer options ?
Then it will be able to have elements on the imported part.
Greetings
Chris
Greetings
Chris
Chris
- JuP
- Major
- Posts: 169
- Joined: Tue Sep 09, 2014 5:45 pm
- TopSolid Module: TopSolid'Steel
- TopSolid Version: 7.14
Re: ImportWithOptions
Hi!cam wrote:Hi Mark,
Thank you for your answer.
Unfortunately, I have already tried this methode, and there is no option to define the import as 2D document.
And.....
Is there a possibility to define "all" layers to import in the importer options ?
Then it will be able to have elements on the imported part.
Greetings
Chris
In the importer options you can define KeyValues, there are some keys which contains "_EXTENSION", did you check if you find something like that? I know there are "ASSEMBLY_DOCUMENT_EXTENSION" and "PART_DOCUMENT_EXTENSION" (you have just to define the extension in the value) but I used to use just stp, x_t importers...
If this keys doesn't exists for dxf importer you can ask an enhancement.
-
- Master Corporal
- Posts: 39
- Joined: Fri Oct 02, 2009 9:46 am
- TopSolid Module: TopSolid'Cam
- TopSolid Version: 7.8
- Location: Germany
Re: ImportWithOptions
Hi, unfortunately the DXF importer has no such options.
https://drive.google.com/file/d/0B_ZZGb ... sp=sharing
https://drive.google.com/file/d/0B_ZZGb ... sp=sharing
Greetings
Chris
Chris