Jump to content

Honor Present DIMSCALE & Change All Dims to Preset Styles


Recommended Posts

Posted (edited)

Is it possible to have LISP collect various dimensions types i.e., linear, radial, etc. and set these (let's assume they are "non-standard" styles) at one time?

Here are my thoughts / specifications as follows. The program would:

 

  • Store in a list all preset / "standard" dimension styles' names/variables either externally from a data file or internally in its code.
  • Provides a user selection option of single selections or have it select all dimensions.
  • Collect and store the pre-existing dimension's DIMSCALE value and pass that value to the preset dimension style.
  • Convert all properties, including color, to the desired dimension style.

 

Thanks,

Clint Hill

Edited by chillpill
Clarification
Posted (edited)

As DIMSCALE is defined in every Dimension Style all you need to do is switch to the appropriate Dimension Style. 

Edited by tombu
Posted

I understand about DIMSCALE.

I originally desired pointers or snippets required to programmatically convert any and all dimension styles in a file to a desired dimension style. 

Posted

You could select them with 

(sssetfirst nil (ssget "X" '((0 . "DIMENSION"))))

and use the Ribbon drop-down to set the Dimension Style.

  • Like 1

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...