change path location of Derive part

change path location of Derive part

dhaval3112
Advocate Advocate
2,912 Views
9 Replies
Message 1 of 10

change path location of Derive part

dhaval3112
Advocate
Advocate

Good morning,

 

I have created a part using derived. Now i have to change location of this parts. 

 

But getting difficulty, Its asking for resolve file is not usable. (refer attached picture)

 

It is advisable to change location of derive part?

 

How to change location of source part ?

 

Can any one guide me further.

 

Regards,

 

Dhaval

0 Likes
Accepted solutions (1)
2,913 Views
9 Replies
Replies (9)
Message 2 of 10

BeKirra
Advisor
Advisor

AFAIK, you can relocate the source file but can't redirect one file to other even you recreate a file and give a same name.

Please mark "Accept as Solution" and "Like" if my reply resolves the issue and it will help when others need helps.
= ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ = ♪ = ♫ =
A circle is the locus of a cursor, starting and ending at the same point on a plane in model space or in layout such that its distance from a given coordinates (X,Y) is always constant.
X² + Y² = C²
0 Likes
Message 3 of 10

SBix26
Consultant
Consultant

The problem here is not the location of the source file.  The message says that the file with that name has been found, but is not the same file.

 

The only way that I know to change actual source files is if the new one is a copy of the old one, so that it has the same Inventor file identification information.  The message is telling you that the file identifiers are not the same, so it won't work.

Sam B

Inventor Professional 2018.2
Vault Workgroup 2018.0
Windows 7 Enterprise 64-bit, SP1

0 Likes
Message 4 of 10

dhaval3112
Advocate
Advocate

Hi. Sam,

 

We have make a different new drive & moved 3d from older drive.

 

Both file are same. I have make copy of source file from older drive & paste in new drive. 

 

Idea behind that to protect data. (only administrator have accesses of Read & write &  other user only read this file)

 

Regards,

 

Dhaval

0 Likes
Message 5 of 10

SBix26
Consultant
Consultant

Then I don't know what to tell you.  Inventor doesn't think they're the same file, so it won't allow the substitution. 

 

Maybe @johnsonshiue can help to sort this for you?

Sam B

Inventor Professional 2018.2
Vault Workgroup 2018.0
Windows 7 Enterprise 64-bit, SP1

Message 6 of 10

MechMachineMan
Advisor
Advisor

You can make this happen through the API by using [FileDescriptor].ReplaceReference().

 

http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-1D1D47E8-3866-4C7D-B207-FB60521EA917

 


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
Message 7 of 10

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi Guys,

 

The resolve error in this case has nothing to do with where the file is located. This error is triggered because the new source document carrying a different ID than the one stored in the derive part. Derive part's associativity is established by recognizing the document ID. Document ID has nothing to do with file names. Two files can share the same name but they have totally different IDs. Likewise, two files can have the same IDs but they have different file names.

The ID is embedded in the file, when the file was first generated from a template (brand new file). If you make a copy of the file (copy or save as or design copy), the ID will carry over.

One may ask why Derive cares about the ID? It is because the downstream features and objects in the derive part rely on the same source file to keep compute stable. If the two files have different two IDs, most likely they have totally different modeling history. When you change the source to a different file with a different ID, most downstream features will fail. And, you will have to recreate the derive feature anyway.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 8 of 10

dhaval3112
Advocate
Advocate

Thank you Sir,

 

For your response.

 

I have try another experiment, Make a new file having derived future in new drive and change location in same drive,

 

So there is no any error.

 

Regards,

 

Dhaval   

0 Likes
Message 9 of 10

emre.yucelCXN2E
Participant
Participant

A workaround for anyone wanting to replace the reference of a derived part is to delete or re-locate the Master/Reference part.  When you open your part next, it will ask you where the reference model has gone - at which point you point to the new reference part you want to replace with.

0 Likes
Message 10 of 10

SBix26
Consultant
Consultant

@emre.yucelCXN2E wrote:

A workaround for anyone wanting to replace the reference of a derived part is to delete or re-locate the Master/Reference part.  When you open your part next, it will ask you where the reference model has gone - at which point you point to the new reference part you want to replace with.


This is a quick and easy method, but it only works if the replacement part is a copy of the original (i.e. has the same file ID-- see @johnsonshiue's earlier post in this topic).


Sam B

Inventor Pro 2023.0.1 | Windows 10 Home 21H2
autodesk-expert-elite-member-logo-1line-rgb-black.png