Results 1 to 3 of 3

Thread: Set the current text style via LISP?

  1. #1
    Active Member
    Join Date
    2002-01
    Posts
    99
    Login to Give a bone
    0

    Default Set the current text style via LISP?

    After i have a text style in a drawing, can i set the current text style with lisp?
    Currently I can only do it with the "-style" command.

    Thanks

  2. #2
    I could stop if I wanted to Ogre's Avatar
    Join Date
    2005-06
    Location
    In the end, Cauliflower is just albino Broccoli
    Posts
    288
    Login to Give a bone
    0

    Default Re: Set the current text style via LISP?

    Quote Originally Posted by pmedina
    After i have a text style in a drawing, can i set the current text style with lisp?
    Currently I can only do it with the "-style" command.

    Thanks
    Where STYLE is the desired style...You will still have to verify what style you want, unless you hardcode each style...

    Code:
    (setvar "textstyle" STYLE)

  3. #3
    Active Member
    Join Date
    2002-01
    Posts
    99
    Login to Give a bone
    0

    Default Re: Set the current text style via LISP?

    Thanks. The style will already exist in the drawing when i make it current. In my case it is first inserted into the dwg as a block, then the current text style is set.

Similar Threads

  1. Replies: 1
    Last Post: 2014-08-08, 05:20 PM
  2. Current Text Style Annotative?
    By Tom Beauford in forum AutoLISP
    Replies: 11
    Last Post: 2011-06-20, 02:39 PM
  3. Replies: 1
    Last Post: 2006-07-25, 03:33 PM
  4. Get and Store Current Text Style?
    By timothyjturner in forum AutoLISP
    Replies: 2
    Last Post: 2006-03-14, 07:14 PM
  5. Text style lisp help
    By BCrouse in forum AutoLISP
    Replies: 2
    Last Post: 2005-04-27, 09:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •