Reply
Solved! Go to solution

Change title block via API

Hi,

how to replace the title block in Solid Edge drawings via API?

 

ChangeTitleBlock (drawingfilename,newtitleblocktemplate)

 

Thanks in advance, best regards

Massimo

4 REPLIES

Re: Change title block via API

Hi,

 

Can you please confirm, in title block all text are linked with your Drawing/part property or its normal text?

 

Thanks,

Bala

Re: Change title block via API

Hi,

what do you want to replace? The complete title block or some texts in the title block?

regards

JB
VS2015, SE ST10

Re: Change title block via API

Found this

 

 objSheet.replacebackground(filenuovocartiglio, bname)

 

but is valid only for ST9, tehre is something linke that for ST8?

 

Thanks in advance, best regards

Massimo

Solution
Solution
Accepted by topic author MassimoMagris
‎01-19-2017 12:01 AM

Re: Change title block via API

Hi Massimo,

since this as new function in ST9 there is no support in older versions.

You could use the windows clipbard to copy from a template drawing to the background Sheet of the current drawing as work around.

regards

JB
VS2015, SE ST10