Jump to content
lamensterms

SOLIDEDIT>Edge>Copy Issues AutoCAD 2015

Recommended Posts

lamensterms

Hey guys,

 

Recently switched to ACAD 2015 and having some trouble with an old LISP routine that I've been using for years.

 

It is a basic routine that copies the selected edge of an 3DSOLID.  Please see code and animation of my problem below (DWG also attached).

 

When trying to copy a CIRCLE edge, the resultant edge (CIRCLE element) is not aligned to the original source edge.  The problem seems to be with the way SOLIDEDIT works in 2015, as running through the same process without the LISP routine will yield the same result.

 

So.. my questions:

 

Has anyone encountered a similar issue, and do you have a solution to get the SOLIDEDIT command to work correctly?

 

If the SOLIDEDIT command is broken - what would be the best way to compensate for the misaligned CIRCLE edge copies?

 

(defun EEtrap1 (errmsg)
  (command "undo" "b")
  (setq *error* temperr)
 (princ)
)

(defun c:ee ( / *error* )

 (command "undo" "m")
 (setq temperr *error*)
 (setq *error* EEtrap1)
 (command "undo" "m")

(setq OROSMODE (getvar "OSMODE"))
(setvar "osmode" 512)
(setq P1 (getpoint "\n Select edge to be copied:"))
(command "solidedit" "edge" "copy" P1 "" P1 P1 "" "")
(setvar "osmode" OROSMODE)

 (setq *error* temperr)

)

 

1644172_SOLIDEDITProblem.gif.7dcb23c943d787c28a44283cffd11fc9.gif

 

Thanks for any help.

 

SOLIDEDIT Problem.dwg

Share this post


Link to post
Share on other sites
JuniorNogueira

In AutoCAD 2020 Works flawlessly.

EE.gif

Share this post


Link to post
Share on other sites
Tharwat

Hi,

I am not a 3D user but try to disable the OSMODE right before the command "SolidEdit".

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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