Jump to content

How to Insert the Code to Newly created Tool??


Recommended Posts

Posted
LoL

I hope they select valid objects and only want them offset to the perspective right.

 

 

Perhaps I am mistaken, that the user might enter a negative number for the _min...?

 

Admittedly, there is no error handling, or filtered selection set.

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

  • BlackBox

    9

  • alanjt

    6

  • Lee Mac

    4

  • Tharwat

    2

Popular Days

Top Posters In This Topic

Posted Images

Posted
Perhaps I am mistaken, that the user might enter a negative number for the _min...?

 

Admittedly, there is no error handling, or filtered selection set.

They won't, but with vla-offset, the offset side is determined by a positive/negative number. How is the user to specify which side they wish the line offset?
Posted
Perhaps I am mistaken, that the user might enter a negative number for the _min...?

 

Admittedly, there is no error handling, or filtered selection set.

 

You're diving down a rabbit-hole there Renderman, Alan and I have both been plagued with vla-offset with point selection - admittedly, I haven't set my mind to it recently.

Posted
They won't, but with vla-offset, the offset side is determined by a positive/negative number. How is the user to specify which side they wish the line offset?

 

 

Now I'm confused...

 

Vla-offset specifies the side by using a positive or negative number. Why couldn't the user specify a negative number for the _min?

 

_$ (defun c:-1 nil (print "hooray!") (princ))
C:-1
_$ (c:-1)
"hooray!" 
_$ 

Posted

I didn't realize this had been discussed before, nor do I use this function.

 

I found it in apropos, and plugged it in. Nothing more. I didn't mean to waste time or effort on this, but I appreciate your pointing out the inherent flaws.

Posted
You're diving down a rabbit-hole there Renderman, Alan and I have both been plagued with vla-offset with point selection - admittedly, I haven't set my mind to it recently.
LoL, that's about the truth. I played with it, and mine (just as yours) works fine, but it's just not worth the effort. Just feed valid information to the offset command and be happy (unless you are offsetting on both sides of the curve).

 

I didn't realize this had been discussed before, nor do I use this function.

 

I found it in apropos, and plugged it in. Nothing more. I didn't mean to waste time or effort on this, but I appreciate your pointing out the inherent flaws.

Not a waste of time if you learned something about vla-offset.

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