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
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,