Cancel
Showing results for 
Search instead for 
Did you mean: 

Macro For REPLACING the SE Drafting Sheet Background

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Dear all,

For replacing the Old Drafting template with new same size drafting template.

now we need to do changes in almost more than 1K sheets.

Please let me know if any command or macro is there for the same IN ST 10/ SE 2019

 

Thanking you.

1 REPLY 1

Re: Macro For REPLACING the SE Drafting Sheet Background

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi @Atul3d ,

 

You can use "ReplaceBackground" API to replace template in a file using automation.

Sample code to use "ReplaceBackground" API is available at

https://docs.plm.automation.siemens.com/docs/se/2019/api/SolidEdgeDraft~Sheet~ReplaceBackground.html

 

Since this code can replace the template in just one file you will have to edit it to make it work for multiple drawings.