ilogic - copy drawing iproperty to model iproperty

ilogic - copy drawing iproperty to model iproperty

Anonymous
Not applicable
772 Views
1 Reply
Message 1 of 2

ilogic - copy drawing iproperty to model iproperty

Anonymous
Not applicable

anyone know how to do this?

 

we have many files with the 'Rev' stored in the drawing iproperty. I'd like to copy this informaiton over to the model(s) iproperty... then use code injector to run through all of the folders,

 

thx

Accepted solutions (1)
773 Views
1 Reply
Reply (1)
Message 2 of 2

Jesper_S
Collaborator
Collaborator
Accepted solution

Hi.

 

Example

 

If (ThisDrawing.ModelDocument Is Nothing) Then Return

modelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)



iProperties.Value(modelName, "Project", "Part Number") = iProperties.Value("Project", "Part Number")

Just replace with revisionnumber.


//Jesper

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
0 Likes