Get assembly or part document from the internal name

Get assembly or part document from the internal name

pts.user2
Contributor Contributor
161 Views
1 Reply
Message 1 of 2

Get assembly or part document from the internal name

pts.user2
Contributor
Contributor

I am having an internal name of a part/assembly fetched from the document.

 

AssemblyDocument assemblydoc = doc as AssemblyDocument;
string internalName = assemblydoc.InternalName;

 

I want to know that can I get back this assemblydoc details using the internal name from the inventor active document directly from the root assembly document as I don't want to traverse the complete model to get this details.

0 Likes
162 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor
As Long as the program/code is active the Assembly-document is still declared...

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
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:
My 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 !


 


EESignature