Hello,
is there a way to determine if a derived sheet metal part has the option "link sheet metal styles" set or not? I had a look at DerivedPartUniformScaleDef but can't find a property to reflect this option.
Any hints on how to determine it are highly appreciated.
Thanks in advance
Peter
Solved! Go to Solution.
Solved by philip1009. Go to Solution.
I've looked and I'm not seeing anything that looks like an obvious match to see if that box has been checked. There might be other ways to check if the sheet metal style is the same between the parent and derived document. I think you've found a gap in the API for Autodesk to add, make a post in the Ideas forum to make them aware of it. When looking at normal parts, there are properties to check under Sheet Metal Component Definition, but it looks like there's no Sheet Metal specific properties in derived parts.
Is this still the case for Inventor 2022 and above.
I cannot find the option in the API right now!
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
Hi @bradeneuropeArthur. I think that setting may have just been added in 2024, according to the online help documentation. See the links below, all from the 2024 help.
DerivedPartDefinition.LinkSheetMetalStyles
DerivedPartCoordinateSystemDef
Wesley Crihfield
(Not an Autodesk Employee)
Seems that this still does not work.
The option is not there!
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!
! For administrative reasons, please mark a "Solution as solved" when the issue is solved !
This is honestly not something that I access or work with that much by code where I work, so I had not noticed that. For my previous response, I just went straight to the online help documentation, without testing by code.
I just tested this for myself (currently using Inventor Pro 2024.2.1), and can now confirm for myself that you are correct about this property seemingly still not working.
All of the above was done manually, using the normal user interface tools.
Now below are the results of me accessing these things by code:
Sounds like something we may need to tag someone at Autodesk about. This may already be a known issue that they are dealing with, or may already be fixed in a later update of Inventor, or something like that.
Hi @MjDeck . Could you look into this for us.
Wesley Crihfield
(Not an Autodesk Employee)
Hi Wesley and Arthur,
This was recently implemented (as internal number INVGEN-74427). It is only in 2024.3 at this time. If you're running 2024, please update to 2024.3. It will be in dot releases of 2023 and 2025 soon.
OK. Thank you. I figured it was something like that. You're the best, Mike. 👍
Wesley Crihfield
(Not an Autodesk Employee)
Can't find what you're looking for? Ask the community or share your knowledge.