Jump to content

SWEEP-> MOde->SUrface


wimal

Recommended Posts

SWEEP-> MOde->SUrface In my code I need set SWEEP command to Surface mode.

But I could not find any system variable to set this.

Please can you show me how to write lisp code to set this.

Link to comment
Share on other sites

The system variable is SURFACEMODELINGMODE. This information is found in your AutoCAD Help file. Press the F1 key to utilize this feature.

 

Even the above system variable set to 1 or 0 it generate solid SWEEP.

And even I set SWEEP-> MOde-> SUrface or SWEEP-> MOde-> SOlid

it does not change SURFACEMODELINGMODE value.

Link to comment
Share on other sites

Maybe I missed something in the Help file. As a matter of fact I did. The variable is used to produce a procedural surface (set to 0) or a NURBS surface (set to 1).

 

Wouldn't a simple lisp routine that invokes the SWEEP command and sets the option MOde to SUrface suffice for what you are doing?

 

Example:

 

(defun c:sur ()

(command "SWEEP" "MO" "SU")

)

Edited by ReMark
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...