TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Craig on June 07, 2005, 07:54:10 AM

Title: vla- simple question
Post by: Craig on June 07, 2005, 07:54:10 AM
I'm sure this has a simple answer but for me I've been pulling my hair out. I have a printed form showing all the codes that can be used in autolisp. Since I'm new to VLisp I sure would like to have the same thing. This would keep me from asking such mundane questions. Does anyone have any idea where I can buy or download a booklet or file that has all information about vl-****. Here are some that are in the Help and in some programs I've looked through.

vla-get-Color
vla-getpapersize
vla-getcustomscale
vla-addLightweightPolyline

and so on. The problem is how to find out whats available to use. I need a list I can print that has all this info on how to extract these from a selected object. I am trying to learn it and what I wanted to do was add a vertex in the middle of a LWPOLYLINE. I know there are programs already available, I'm just doing this trying to learn.

I see this as a property of the pline,  AddVertex (2) and assume it would be something like such (vla-AddVertex SelectedPLine 'X 'Y) but since theres nothing in the help (or that I can find) about it, I'm hoping there is something someone has I can print out.
Title: vla- simple question
Post by: daron on June 07, 2005, 08:00:14 AM
(vla-dump-object)

help file. ActiveX and VBA Reference. I believe MP has a utility for this too. aXprops?
Title: vla- simple question
Post by: whdjr on June 07, 2005, 08:01:47 AM
See this (http://www.theswamp.org/phpBB2/viewtopic.php?p=55856#55856) post.
Title: vla- simple question
Post by: Craig on June 07, 2005, 08:06:37 AM
Thanks, just what the doctor ordered  :lol:
Title: vla- simple question
Post by: Jürg Menzi on June 07, 2005, 08:12:42 AM
AutoLISP Developer Guide -> Using the Visual LISP Environment -> Working with ActiveX -> Using Visual LISP Functions with ActiveX Methods

Cheers
Title: vla- simple question
Post by: MP on June 07, 2005, 08:37:46 AM
Quote from: Daron
(vla-dump-object)

help file. ActiveX and VBA Reference. I believe MP has a utility for this too. aXprops?

Yep -> link (http://www.theswamp.org/phpBB2/viewtopic.php?p=62997#62997).

AutoCAD 2002 and up.

Thanks Daron.
Title: vla- simple question
Post by: Craig on June 07, 2005, 09:02:16 AM
Reading some of that 183 page manual on page 42...Apropos Window...thats exactly what I needed. I've been using VLIDE since R14 and never knew that existed  :oops: