Renaming of assembly parts

Hi,
I am trying to rename part of any assembly without opening assemblyin solidworks i.e updating external references.Can anybody help mewith API to do the same. And it should not ask for the referenceswhen i open the assembly

EX: I have an assembly of parts whose names will be 105-XXXX-01,105-XXXX-02 so on ... I need these parts to be renamed like105-2222-01 ,105-2222-02.The XXXX should be renamed with 2222


viswaSolidworksApi macros
Comments 1
JB
JB 2008-04-09

Zeelu A wrote:

 

I am trying to rename part of any assembly without openingassembly in solidworks i.e updating external references.Can anybodyhelp me with API to do the same. And it should not ask for thereferences when i open the assembly

Zeelu,

Look at Document Manager. It can do what you want. See the detailsin the API Help. There are also a couple of post regarding DocumentManager in this forum.

Cheers,