Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Control LineType for Layer by export SheetMetal to DXF

1 REPLY 1
Reply
Message 1 of 2
Anonymous
328 Views, 1 Reply

Control LineType for Layer by export SheetMetal to DXF

I try to export a Flatt Pattern with api with the DataIO Object and would like to switch few layer to LineType dashed. But the string only works for the 'IV_BEND_DWON'. Whats wrong with the string? I'am using Inventor 2014 64.bit with SP1 and Update 2. Or is it possible to use the ini File so the Inventor Programm it use by export an SheetMetal? This looks like this:

 

FLAT PATTERN DXF?AcadVersion=2010&BendLayerLineType=37634&BendDownLayerLineType=37634&FeatureProfilesLayerLineType=37634&FeatureProfilesDownLayerLineType=37634&AltRepBackLayerLineType=37634&InvisibleLayers=IV_TANGENT;IV_TOOL_CENTER;IV_TOOL_CENTER_DOWN;IV_ARC_CENTERS&SimplifySplines=True

 

 

 

 

1 REPLY 1
Message 2 of 2
adam.nagy
in reply to: Anonymous

Hi Michael,

 

As mentioned in the API Help file, FeatureProfilesLayer is only there for legacy support, and maybe that's why it does not seem to have any effect.

However, in case of my sheet metal part using your code and modifying FeatureProfilesLayerLineType to FeatureProfilesUpLayerLineType the entities on both IV_FEATURE_PROFILES and IV_FEATURE_PROFILES_DOWN layers in the created drawing were Dashed


It was not obvious simply by looking at the drawing because the dashes were bigger then the length of the entities and therefore they looked Solid.

But when I selected the entities and checked their linetype in the Property palette inside AutoCAD, then I could see that they were in fact Dashed.

 

I hope this helps.

 

Cheers,



Adam Nagy
Autodesk Platform Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report