Jump to content

replacing text style with the ones in a different drawing file


Recommended Posts

Posted

I am very new on using AutoCAD

 

I want to copy a text style from a different drawing file.

I tried to use DCENTER but since they have the identical names and I can not copy the text style from other files.

 

What I want is this

The current file has "Standard style with txt.shx font"

 

I want to import the following text style from a different drawing file and change the font from the txt.shx to HGSgoshicM

Standard style/Japanese font named HGSgoshicM

 

Since script commands do not handle Japanese fonts, I am trying to do this using LISP.

 

In addition, I want to create a LISP program for finding a text string and replacing the text style of the text with a specific text style.

 

I would appreciate it if you can help me.

 

Posted

You want to change the font name of the Standard Text Style in lisp, is this correct?

 

Is the HGSgoshicM font file in the Autocad Fonts folder? What is it's full name (including extension)?

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...