Export DXF options

Export DXF options

lrfabs
Contributor Contributor
2,495 Views
9 Replies
Message 1 of 10

Export DXF options

lrfabs
Contributor
Contributor

Hi All,

 

I have 2 problems I am trying to overcome:-

 

  1.  I have realized that it is only possible to have 2 radio buttons available in a section of a rule. The problem is that I would like 3 because I would like a box to appear when outputing dxf's I.E buttons to label "inner profiles" "outer profiles" & "both profiles". This leads me on to Question 2.
  2. How can I set the DXF output options to select the outer profile only ( without any bend lines etc on a sheetmetal part).

 

Thanks In Advance

Lee

 

0 Likes
Accepted solutions (2)
2,496 Views
9 Replies
Replies (9)
Message 2 of 10

CCarreiras
Mentor
Mentor

Hi!

 

You can have more then 2 radio buttons, you can have how many you need.

 

You must have 3 ini files (with dxf defenitions) to each option and 3 the rules to run depending the case you want.

CCarreiras

EESignature

Message 3 of 10

lrfabs
Contributor
Contributor

Hi,

 

With that in mind is there a snippet of code that would read this ini file.

 

Many thanks.

 

Lee

0 Likes
Message 4 of 10

CCarreiras
Mentor
Mentor
Accepted solution

Hi!

 

When you export the flat pattern to dxf, you will have the chance to configure how you wanna have it (inner profiles, outer profiles, et etc). You can save each configuration in one file. This file is your aaaaa.INI file

When you apply one rule to convert a drawing in a dxf, you can make the rule read that ini file to stablish your configuration for the converting.

CCarreiras

EESignature

0 Likes
Message 5 of 10

lrfabs
Contributor
Contributor

Hi ,

 

Yes I know about the ini configuration but how do i write an ilogic rule to select that ini file.

Many thanks


Lee

0 Likes
Message 6 of 10

Anonymous
Not applicable
Accepted solution

I did once some workaround with inputbox. you can type in "1", "2" or "3". if you hit cancel default would be let's say "1".

 

Or you can do a MsgBox with YesNoCancel. In promp write which button is what. Worked for me.

0 Likes
Message 7 of 10

Anonymous
Not applicable

Hi

I would also like to know how a iLogic rule for dxf output would read the dxf ini file.

 

I need to get across the flat pattern and include the bend lines (centres only), But these need to be in a different colour (yellow) and line style (chain) to the profile

 

Thanks

0 Likes
Message 8 of 10

Anonymous
Not applicable

There are two typer making DXF that I know: from flat pattern and from IDW. IDw can read ini file, flatpattern has input string that determines what is exported. Both will give you bend in yellow. It's easier to define ini file for sure but once you'll create output string it will be aesier to export vie flatpattern.

 

You can find in the attached pdf (it's printed out from Inventor API help) how to make output string and write iLogic rule.

 

 edit:

 

There is also third option to Export DXF. From assembly file. Do you know this solution from exchange appstore? It's free for DXF.

 

BR

Jozef

Message 9 of 10

lrfabs
Contributor
Contributor

Many Thanks.

 

Just what I needed.

0 Likes
Message 10 of 10

Anonymous
Not applicable

Glad to hear that. Feel free to give kudos 🙂