Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to complete my drawing function.

  • Thread starter Thread starter pdubernet
  • Start date Start date
P

pdubernet

Guest
Dear all,


I have a problem to update my CATDrawing.
I'm explain me.
I open a draw file and with the "CurView.GenerativeBehavior.Document.Name" command, I open the part or product.
Then, I open the 3D document and I want to return on the open draw file.
For to do it, I use in first time the "Set drawingDocument1 = CATIA.ActiveDocument" command.
But I don't know how can I display draw file on top of the open 3d document file.
Did you have any idea?


After, I want to modify the link of my view to point to the 3d open document file.
How can I to do it?

And, I like to do that for all views in my drawing file.

If my 3d document is already open, I don't reopen it.


And at the end of my procedure, I want save the drawing file and close all open documents.

Thank's


Best regards,
Patrick


Full Function here
<HR>
' Fonction qui traite les fichiers CATDrawing.
' Toutes types de mofifications peuvent
 
Dear all,


I have finished my tools and the code is ok today.


Best regards


Patrick DUBERNET
 

Part and Inventory Search

Sponsor

Back
Top