Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Replace Reference

3 REPLIES 3
Reply
Message 1 of 4
xenin
346 Views, 3 Replies

Replace Reference

HI,
Please help me using "Replace Reference" method. I ve followed the below procedure :
1. Docuement.File.ReferencedFileDescriptors.
2. For Each file ... FileDescriptor.ReplaceReference("new_FileName.ipt")

Prior to this, I opened "FileName.ipt" in Inventor and then "Save Copy As" "new_FileName.ipt".

The above procedure is giving "cx0000005" Access Voilation Error. Thanks in advance..
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: xenin


Are you sure you've got the correct
document?

 

Joe ...

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
HI,
Please help me using "Replace Reference" method. I ve followed the below
procedure : 1. Docuement.File.ReferencedFileDescriptors. 2. For Each file ...
FileDescriptor.ReplaceReference("new_FileName.ipt") Prior to this, I opened
"FileName.ipt" in Inventor and then "Save Copy As" "new_FileName.ipt". The
above procedure is giving "cx0000005" Access Voilation Error. Thanks in
advance..
Message 3 of 4
xenin
in reply to: xenin

Hi, Its working now.. i have read one of the previous thread where sanjay has given the solution..
Thanks a lot for all..

btw: Admin please delete the repeated threads given by me, this is caused due to the problem in internet..
Message 4 of 4
thmsfrst
in reply to: xenin

Can you please add a link to the thread where you found the solution.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report