Jump to content

how can I hatch a circle to color 171?


danyra

Recommended Posts

I HAVE THIS...

 

 

 

(setq R 0.01)
(setq P1a (polar p1ab 0 0.01))
  
   (entmakex (list '(0 . "CIRCLE") (cons 10 P1a) (cons 40 R) '(62 . 171)))

 

 

 

HOW CAN I HATCH  THIS CIRCLE IN SOLID COLOR 171? OR ON A LAYER WITH THIS COLOR?

Link to comment
Share on other sites

(and (setq cir (entmakex (list '(0 . "CIRCLE") (cons 10 P1a) (cons 40 R) '(62 . 171))))
     (setq clr (getvar 'CECOLOR))
     (setvar 'CECOLOR "171")
     (progn
       (command "_.-hatch" "_S" (ssadd cir) "" "_P" "SOLID" "" "")
       (setvar 'CECOLOR clr)
       )
     )

 

  • Thanks 1
Link to comment
Share on other sites

Did you run THIS ? It will allow you to pick your color, set your radius and insert multiple blocks with the picked color and size.

 

2020-01-28_7-48-15.gif

Edited by ronjonp
  • Thanks 1
Link to comment
Share on other sites

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