Jump to content

vector script: replace font type?


Recommended Posts

is there a possibility to replace any font type in one drawing with a specified new one in a batch mode without selecting each one?

font size should not be touched.problem is there are lots of text in groups , symbols and layout areas in my drawing, so i can't selct them all at once(and i don't want to cycle through these myriads of objects).

Edited by carpenter1234
Link to comment

Did you assign a unique Class to the text ?

{

DSelectAll; SelectObj(INSYMBOL & INOBJECT & INVIEWPORT & (C='FontClassTest'));;

}

If ,yes, then use the selection by Class to make a global change. If not then you will need to select by the FontID:

{

DSelectAll; SelectObj(INSYMBOL & INOBJECT & INVIEWPORT & (FOT='Arial'));

}

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...