Can you tell me how I can create a new surface in Vlisp?
I know I can use something like this:
(vlax-invoke-method obj 'AddTinSurface )
But I don't know the exact format of the required (5) entries of the variant. I know it includes
Name,
Description,
Layer,
BaseLayer and
Style (or StyleName).
How do I build this variant in Vlisp?
These type of queries may be better posted in the Customization forum??
neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Well, because of several reasons I want to use AutoLisp. And it's still supported bu Autodesk, isn't it?
And I can't find any programmer who have this kind of information of Autolisp in the combination with ActiveX/Civil 3D objects. One of the only forums I think of which could give me an answer is this one. If needed I will make a new topic,if I can't have an answer here.
Just to echo all the other comments:
1. LISP is the worst possible API to use if you are trying to customized Civil 3D. It will be slow, it uses the older COM API, there are no samples for it, there is no documentation on it and the LISP API is not tested at all.
2. The new 2012 .NET API for surfaces should be what you are using. This provides a new level of access to the surface model down to the surface line, edge and face level.
Cheers,
Peter Funk
Autodesk, Inc.