• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

replace derived component

  • Thread starter Thread starter Tarkus
  • Start date Start date

Tarkus

Guest
Hello, everyone.
I've got to create some stringing ducts for an extruder.
I initially create an ipt file (symiamolo file 1a) with a bit of the piece that will be extruded.
this is sent to the customer for approval.
Once approved, I begin the modeling of the duct.
I create a new file (2a) where I insert for derivation the basic sketch of file 1a.
I then create my extrusion duct with all the processing of the case.
Now, (ask the long premise) every time the customer asks for a new product with a new profile, I find myself repeating the whole process.
Since the process following the initial sketch is the same, I was wondering if it was possible in file 2a to replace the derived file 1a with another new file (1b).
directly from ipt does not seem possible to me, I tried with design assistant where there is the option replace relative to the connected files,
seems that the replacement operation goes well,in fact when I click on the 1b replacement file to place in place of 1a, I see that it also updates the 2a file),
but lastly, at the time of the final rescue, I get the message:
<<si abbia="" base="" che="" data="" del="" errore:="" file="" id="" il="" lo="" sostitutivo="" stesso="" un="" verificare="" verificato="" è="">>.
What do you mean in this case "I have the same id as the base date"?
Any ideas?</si>
 
In the meantime I learned that if the file 1b, instead of starting from new file, I get it from a "Save by name" of file 1a, the replacement goes to good end.
even if in the copied file gate everything present in the initial sketch and design a different profile....
 
you could try, to see what happens to temporarily rename 1a so when you open 2a does not find it and to the file location request select 1b (as you did to reuse the tables a little release does... )
However I confirm the workless of d.ass. as described by you, the substitution with the procedure of the second post is very "robust"
 
comunque, per la domanda specifica sull' id del database:

document.databaserevisionid property
parent object: document
description
gets the guid (nota: identificatore unico globale) that represents the last saved revision of database contained in this document. this revision id tracks modifications to the database (such as reference changes, geometry changes, etc.) but does not track file property changes.

sostanzialmente ogni nuovo file ha un codice interno diverso; i file generati con saveas tengono quello originale.

edit: ho scritto una stupidaggine, i file generati con saveas non hold the original one (made a proof): However perhaps they track those of the previous versions. . .
 
you could try, to see what happens to temporarily rename 1a so when you open 2a does not find it and to the file location request select 1b (as you did to reuse the tables a little release does... )
However I confirm the workless of d.ass. as described by you, the substitution with the procedure of the second post is very "robust"
It was the first thing I did, but the message that came out was more or less: " the file although having the same name is not the original file. it is not possible to use it".
from here I went to try d.ass. with the problems already described.
However, I had the idea that replacing a file with another is possible only if the files are very similar, starting with the numbering of sketches, in fact using a file copy of the original, even with heavy modifications to the sketch (with the same number of sketches) was accepted to replace. ...
 
to confirm what was said.
I wrote a stupid thing, the files generated with saveas non hold the original one (made a proof): However perhaps (evidently, more than perhaps...) keep track of those of the previous versions and hence the message... I'll try to find out more about curiosity.
 
but where does the id appear?
It's an internal thing that the user doesn't need to see it (always hoping to understand what the right id is) I did:
- alt-f11 for vba editor
- "immediate" window at the bottom (if there is no ctrl-g display)
- I wrote "print thisapplication.activeeditdocument.databaserevisionid", <invio> with open the file I want to analyze

and something like this comes out, just the famous id:

(8807c551-4f68-cb46-4593-62bed9fb8e31)

writing these lines though I realized that what I described is revisionid, which tracks changes to the document: Maybe the database id is

thisapplication.activeeditdocument.internalname


the juice of the matter, however, is that after doing the gradasso by proposing some good explanations, I find myself not knowing that fishes pigliare:redface:

mah! as soon as I have more time I will look for more information. . .</invio>
 
Okay, all right, anyway, right now, I found a way to solve the problem.
I'm going to deepen the thing when I have a little time.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top