Hi Mike,
Thank you for your respons.
its some code we put in our idw template:
'Exit rule If no Part or Assembly Is in the drawing yet
If (ThisDrawing.ModelDocument Is Nothing) Then Return
'get the file name of the doc the drawing points to
modelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)
'read the values from the iProperties in the part file
'then apply to the iProperties with the same name in the drawing file
iProperties.Value("Project", "Description") = iProperties.Value(modelName,"Project", "Description")
iProperties.Value("Project", "Revision Number") = iProperties.Value(modelName,"Project", "Revision Number")
iProperties.Value("Project", "Project") = iProperties.Value(modelName,"Project", "Project")
iProperties.Value("Status", "Checked By") = iProperties.Value(modelName,"Status", "Checked By")
iProperties.Value("Status", "Eng. Approved By") = iProperties.Value(modelName,"Status", "Eng. Approved By")
iProperties.Value("Status", "Eng. Approved Date") = iProperties.Value(modelName,"Status", "Eng. Approved Date")
iProperties.Value("Status", "Status") = iProperties.Value(modelName,"Status", "Status")
but, it only working if we made some change in ipt or iam, and iProperties will copied to idw exactly as in ipt or iam.
now, how if we need ability change iProperties from idw or ipt and will update it each other?