Tharwat Posted September 8, 2010 Posted September 8, 2010 Hello. Not most of Visual Lisp functions in Help books are indicating that they are requiring single selection or multiple selection like ssget function. So how could I know the required selection set to each Visual lisp Function ? Many Thanks. Tharwat. Quote
alanjt Posted September 8, 2010 Posted September 8, 2010 The help section for a particular function (eg. vla-put-constantwidth) will tell you that it needs a VLA-OBJECT/Safe Array as part of the requirements. Quote
Lee Mac Posted September 8, 2010 Posted September 8, 2010 Which functions were you referring to Tharwat? None of the VL functions will deal with entity names (except vlax-curve*), and they certainly won't specify how to obtain the required arguments, just that you supply them. Quote
Tharwat Posted September 8, 2010 Author Posted September 8, 2010 Usually all functions that starts with vla are not available with Cad help. Besides that, PDF books which we couldn't find lots of undocumented functions. And your example with (vla-put-constantwidth ) is more than enough for that issue. Is this right ? Tharwat Quote
Lee Mac Posted September 8, 2010 Posted September 8, 2010 The help on the vla* functions is written in terms of VBA, but the argument type, number and order is still applicable to VL. To get the help, double-click on a function to highlight it and click on the beige help button (speech bubble with question mark). Quote
alanjt Posted September 8, 2010 Posted September 8, 2010 Tells me exactly what the function requires... Quote
Tharwat Posted September 8, 2010 Author Posted September 8, 2010 Which functions were you referring to Tharwat? None of the VL functions will deal with entity names (except vlax-curve*), and they certainly won't specify how to obtain the required arguments, just that you supply them. Thanks indeed. For example that given function by Alanjt, When I look for it in help it would drive me to the VBA which makes me confused with it, because the function is no written completely in its part and belong to VBA. So how could I know the action of that function. The same image that given by Alanjt in his last reply ? Many thanks Quote
Lee Mac Posted September 8, 2010 Posted September 8, 2010 Exactly, from the image Alan has provided: (vla-put-ConstantWidth <VLA-Object> <Real>) Quote
alanjt Posted September 8, 2010 Posted September 8, 2010 (vla-put-ConstantWidth VLA-OBJECT 3.0) Quote
Tharwat Posted September 8, 2010 Author Posted September 8, 2010 So do all VBA functions all used by Visual Lisp with the start of (vla-put- ......) or (vla-get-.......) for example ? That's what I realized while searching for functions that are not existed in VL division till now. Regards. Quote
Lee Mac Posted September 8, 2010 Posted September 8, 2010 Tharwat, Read all of this carefully, it should answer a lot of your questions Lee Quote
Tharwat Posted September 9, 2010 Author Posted September 9, 2010 Thanks Lee for that reference. And here what I have been looking for as shown in the attached image. Best regards, Tharwat Quote
Recommended Posts
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.