Jump to content

Recommended Posts

Posted

hi freinds

may be some one think this is very simple question but please check

if i creat polyline using this lisp shifting ucs to 3point and sequence of points of ucs is clockwise the polyline generated can't be joined to any other

but if select the 3 point anticlockwise the polyline generated can be joined to other

(defun c:pc(/)
 (setq st1(getpoint"\n p0"))
 (setq pc(getpoint"\n p(x-direction)"))
 (setq ps(getpoint"\n py(y-direction)"))
 (setq ptlst'((0 0)(4 3)( 20 5)(33.2 10)(40.33 17)))
 (command "ucs" "New" "3p" st1 pc ps )
 (setvar"osmode"0)
(command "__.pline")
(setvar"osmode"0)
 (mapcar 'command ptlst)
 (command)
 (command "ucs" "world" )
)

although if we draw polyline manualy selecting new ucs-3points we will get same results according to direction of selecting 3points of ucs

wish any one has information about this problem to help

Posted

There is no need to double post. This looks like a continuation of your thread from yesterday.

Posted

true ReMark can be moved to concerning post if it is necessary

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