iLogic Export To DXF Lines Showing

iLogic Export To DXF Lines Showing

TheClenched
Contributor Contributor
370 Views
4 Replies
Message 1 of 5

iLogic Export To DXF Lines Showing

TheClenched
Contributor
Contributor

Hey guys,

 

I'm trying to use iLogic to export a DXF. In our business, we just want the outer exterior profile of the Flat Pattern and that's it. We don't want to show any bend lines or anything. I have labeled the variable to output as such.

 

Dim sOut As String = "FLAT PATTERN DXF?AcadVersion=2018" _
+ "&OuterProfileLayer=IV_EXTERIOR_PROFILES" _
+ "&InvisibleLayers=IV_TANGENT" _
+ "&InvisibleLayers=IV_BEND" _
+ "&SimplifySplines=True"

This outputs the picture that I have attached which shows the bend line. Can someone let me know what I'm doing wrong here?

 

Thanks!

 

0 Likes
Accepted solutions (1)
371 Views
4 Replies
Replies (4)
Message 2 of 5

Gabriel_Watson
Mentor
Mentor
Accepted solution
Message 3 of 5

TheClenched
Contributor
Contributor

I was able to make this work with this code. Thanks!

 

As a sidebar, do you know why the other code wasn't working to remove those lines or no?

 

Let me know.

 

Cheers!

 

Anthony

0 Likes
Message 4 of 5

Gabriel_Watson
Mentor
Mentor
You're welcome!

I assume one of two thigns are happening to make this "right" for your preference:
1- the "oCommand.ControlDefinitions.Item("GeomToDXFCommand").Execute2(True)" is the key line here, and although I haven't used it myself, perhaps "Execute2" is a different way of exporting this without the bend lines;
2- or, "GeomToDXFCommand" is simply being executed on the top face only, since a previous line acquires the top face from the flat pattern, and perhaps that dulls it out to a dumb solid: "Dim oFace As Face = oFlatPattern.TopFace".
Message 5 of 5

TheClenched
Contributor
Contributor

Ah I see.

 

Well at least we found a solution that works.

 

Cheers!

 

Anthony

0 Likes