Hello, is there a way to find out if a file loaded from inventor is a Sheet Metal Part? We do not use category to distinguish these parts. Is there some easy way to find out? I think I would be able to find out if I download the file a look int the inventor file properties, but i dont want do download every file just to find out if I can export it to DXF.
Thank you,
regards,
David
Solved! Go to Solution.
Solved by david.siegertKKJR6. Go to Solution.
Solved by Markus.Koechl. Go to Solution.
Inventor files share a property "Sub-Type". You can map it to a Vault property and use this in searches.
Yes I thought of this solution but there would be problem with existing data not having this Vault property. I ended up downloading the files and using inventor apprentice.
Inventor.ApprenticeServerComponent apprentice = new Inventor.ApprenticeServerComponent(); var doc = apprentice.Open(localPathToFile); bool isSheetMetal = doc.ComponentDefinition.Type == ObjectTypeEnum.kSheetMetalComponentDefinitionObject;
The standard is configuring the assignment rule like this; note - if mulit-language Inventor clients create the files you need to add all "Sheet Metal Part" translations using the OR condition. The screenshot reflects en and de as a sample: