I am looking for some Solid Edge VBA help!
I am looking for some Solid Edge VBA help!
(OP)
I am trying to edit the linked part to a draft file using VBA. Can anyone help? For example: I have adraft file with part "A" linked to the draft, and I want to chnage the link to part "B" instead.





RE: I am looking for some Solid Edge VBA help!
in the online help.
Do you make some macros in VB for Solid Edge?
I use Solid Edge for my job and I make macros for Draft,
Part and Assembly. I think it is interesting
if we exchange our knowledge.
Visit this website, I find it very interesting:
http://www.geocities.com/segurucool/
RE: I am looking for some Solid Edge VBA help!
RE: I am looking for some Solid Edge VBA help!
Set objApp = CreateObject("RevisionManager.Application")
' Open the top level assembly.
Set objDocument1 = objApp.Open("example.asm")
objDocument1.Copy ("newfilename.asm")
Set objAsmDocuments = objDocument1.LinkedDocuments(0)
For Each objlinked In objAsmDocuments
objlinked.Copy ("copy.par")
objlinked.Replace ("replace.par")
Next
-------
I hope it work properly.
RE: I am looking for some Solid Edge VBA help!