Replace Reference without opening a Inventor Document through vb.net

Replace Reference without opening a Inventor Document through vb.net

niranjan934
Contributor Contributor
499 Views
2 Replies
Message 1 of 3

Replace Reference without opening a Inventor Document through vb.net

niranjan934
Contributor
Contributor

I am Using File Descriptor to Replace the all Files in Inventor Document and It is Working Only Inventor Document Visible (Invapp.Documents.Open("Path", True )) but it is not Working (Invapp.Documents.Open("Path", False)). I Don't know why it isn't Replaced. Can anyone Please help me to sort out this Problem Asap.

 

Thanks

0 Likes
500 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

What is the reason for not opening it visible?

This is needed to replace if I am correct!

I use screenupdate to false to hide the files. 

Afterwards I set it to true again.

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

0 Likes
Message 3 of 3

niranjan934
Contributor
Contributor

Actually Iam working on Add-in tool for Pick a Inventor file (ipt or iam) from Library (which we are created and Using regularly). Some times need to copy a library file from library to folder to project folder. In this time we need to rename the file (Adding prefix) and Copying. But this process will completely need in hidden only. In Add-in tool apprenticeserverdocument is not working. So I have to open each referenced document as false and replacing references and inventor files using replacereference and Putilogiccustomreference.

0 Likes