- How to do contouring into autocad civil 3d 2013 how to#
- How to do contouring into autocad civil 3d 2013 install#
- How to do contouring into autocad civil 3d 2013 code#
How to do contouring into autocad civil 3d 2013 how to#
We can't help with problems that we can't understand. This video will teach you how to import points are into AutoCAD Civil 3D and how to very easily create a surface with contour lines using data points.
Keep titles succinct & specific, and use clear, descriptive language in the comments as much as possible.
How to do contouring into autocad civil 3d 2013 install#
I better go check my Python install download.For all users of AutoCAD Civil 3D. Lots of things! The rest is all exploration and experimentation with the help file. So, even though the ModelSpace property of the ActiveDocument was read only (RO), there were things we could do inside it. (VLAX-DUMP-OBJECT (vla-AddCircle (vlax-get-property (vlax-get-property AECCAPP 'ActiveDocument) 'ModelSpace) (vlax-3D-point 0 0 0) 1) T) Let's try this: (vlax-3D-point list) or (vlax-3D-point x y ) We probably have to turn the LISP point into a VB type point. error: lisp value has no coercion to VARIANT with this type: (0 0 0) (VLAX-DUMP-OBJECT (vla-AddCircle (vlax-get-property (vlax-get-property AECCAPP 'ActiveDocument) 'ModelSpace) '(0 0 0) 1) T)
(VLAX-DUMP-OBJECT (vlax-get-property (vlax-get-property AECCAPP 'ActiveDocument) 'ModelSpace) T) Wow! That worked and I got another long list. (VLAX-DUMP-OBJECT (vlax-get-property AECCAPP 'ActiveDocument) T) Let's see what we can find in the Civil active document. With the dump lists, I can either use/invoke/run one of the listed methods (guessing or researching or relying on error messages to guide me) or explore further into one of the properties. Indexed contents not shown.ĪutoCAD dumped for me the Preferences collection of the AutoCAD (IAcadApplication) object model, then the top level of the AutoCAD Civil (IAeccApplication) object model. The lines can help you determine the elevation at a specific location on the surface, help clarify and analyze the 3D surface terrain, and help with things like. Path (RO) = "C:\\Program Files (x86)\\AutoCAD Civil 2010" FullName (RO) = "C:\\Program Files (x86)\\AutoCAD Civil 2010\\acad.exe" IAeccApplication: interface IAeccApplication The cut/fill line is the zero elevation contour on your 'Tin Volume' surface that you have created to get your earthwork numbers. IAcadPreferences: This object specifies the current AutoCAD settings Adding a Cut/Fill line is relatively simple if you know your way around Civil 3D.
I got the following output when I pasted both:
Make sure all the options are marked as in the picture. Pre-requisites: When using the Point Cloud from Site Scan, you’ll need to convert the LAS into an RCS file first. This is a brilliant solution I’m kinda mad I didn’t think of this before lol. How to create contours using a point cloud. (setq aeccapp (vla-getinterfaceobject ACADAPP "AeccXUiLand.AeccApplication.7.0")) One comment on AutoCAD Civil 3D 2018 Tip: Use Civil 3D Line Label Styles to Annotate Utility Linetypes Adam Farnsworth Reply 10:29am. (VLAX-DUMP-OBJECT (VLAX-GET-PROPERTY ACADAPP 'PREFERENCES ) T)
How to do contouring into autocad civil 3d 2013 code#
Then paste either or both of the following bits of code into the Visual LISP Console window: I'll show you what I mean.įirst start the Visual LISP editor using the VLISP command. It may take some guess-work, but it isn't all that hard. And doing the same with AutoLISP is almost the same process.įirst, you have to understand that accessing the model is largely a matter of drilling down into the model tree until you find what you want. I remember I got my first hint at the Ontario Civil 3D blog, where it talks about accessing the model with Visual Basic. I was grubbing around today for my cheat sheet on talking to the AutoCAD Civil object model using AutoLISP, and I found out it isn't that easy to find.