Jump to content

Beginner question


Lt Dan's legs

Recommended Posts

Perpendicular?

 

 

Command: numinc

[C]urve Aligned, [] Rotate CW, [T]oggle Count

[Tab] = Rotate 90, [shift] + [Tab] = Mirror Rotation, [R]eplace,

Select Curve to Align :

>

Link to comment
Share on other sites

  • Replies 28
  • Created
  • Last Reply

Top Posters In This Topic

  • Lt Dan's legs

    14

  • alanjt

    9

  • Lee Mac

    4

  • lpseifert

    1

I searched for acer [sic]-ss-drag-move and could not find it anywhere in that program.

 

Thats because I didn't use it. But it does offer OSnap capability, which is a drawback when using a GrRead loop without significant coding to imitate ObjectSnap functionality.

Link to comment
Share on other sites

Thats because I didn't use it. But it does offer OSnap capability, which is a drawback when using a GrRead loop without significant coding to imitate ObjectSnap functionality.

 

This is a code Alan wrote a while back. I have a some notes on acet-ss-drag-move (thanks alan for that! :D) but I do not understand how to apply it. If it's not too difficult or time consuming, would you mind explaining where it goes?

 

(defun c:1 (/ blockname p1 p2)
;; Alan J. Thompson, 05.05.10
;; Modified by Reid B.
(vl-load-com)
 (setq blockname "PANEL")
 (if (and (or (tblsearch "block" blockname)
              (findfile (strcat blockname ".dwg"))
              (alert (strcat blockname " cannot be found!"))
          )
          (setq p1 (getpoint "\nSpecify block insertion point: "))
          (setq p2 (getpoint p1 "\nSpecify block end point: "))
     )
   ((lambda (block)
      (foreach x (vlax-invoke block 'GetDynamicBlockProperties)
        (cond ((eq (vla-get-propertyname x) "Panel Length")
               (vla-put-value
                 x
                 (cond
                   ("1")
                 )
               )
              )
        )
      )
    )
     (vla-insertblock
       (if
         (or (eq acmodelspace
                 (vla-get-activespace
                   (cond (*AcadDoc*)
                         ((setq *AcadDoc* (vla-get-activedocument (vlax-get-acad-object))))
                   )
                 )
             )
             (eq :vlax-true (vla-get-mspace *AcadDoc*))
         )
          (vla-get-modelspace *AcadDoc*)
          (vla-get-paperspace *AcadDoc*)
       )
       (vlax-3d-point (trans p1 1 0))
       blockname
       1.
       1.
       1.
       (angle (trans p1 1 0) (trans p2 1 0))
     )
   )
 )
 (princ)
)

 

 

 

------

forgive my misspelled words. I was typing from my phone

Link to comment
Share on other sites

New question.

 

How do I turn back on user settings with polar or ortho? I have a LISP that turns ortho on but I want to turn user settings back on when lisp is done.

 

I found an example but I must be doing something wrong because ortho stays on after the routine.

Link to comment
Share on other sites

New question.

 

How do I turn back on user settings with polar or ortho? I have a LISP that turns ortho on but I want to turn user settings back on when lisp is done.

 

I found an example but I must be doing something wrong because ortho stays on after the routine.

 

ORTHOMODE and AUTOSNAP variables.

Link to comment
Share on other sites

ORTHOMODE and AUTOSNAP variables.

 

I don't even want to admit what I did wrong. Sometimes it's better to take your eyes off of something for 5 minutes.

Link to comment
Share on other sites

I don't even want to admit what I did wrong. Sometimes it's better to take your eyes off of something for 5 minutes.

I do it all the time. I work out a lot of things on my drive home.

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