style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"jregier" <what
href="mailto:jregier@dixonhydrogeology.com">jregier@dixonhydrogeology.com>
wrote in message
href="news:f0cf7e3.-1@WebX.maYIadrTaRb">news:f0cf7e3.-1@WebX.maYIadrTaRb...
is the command line equivalent of surface utilities -> lable spot
elevation. I need to extract surface elevation point values for a list of 7000
horizontal points. Where can i find a listing of command line equivalents for
all map and land functions for lisp usage.
Jim
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bud" <Bud@BudCAD.com> wrote in
message
href="news:CE65958067D85C4375716A2895481C79@in.WebX.maYIadrTaRb">news:CE65958067D85C4375716A28954......
This is what it looks like with command echo
on:
(dt_mnl)(zz_sdsk '(dt_spotlabel))
I'm pretty sure it can't be called from the
command line.
Bud Miller
href="http://www.BudCAD.com">www.BudCAD.com
Legal Descriptions, Parcel,
Point &
Pline Reports, Layer Reports,
Automated Point Groups and
more.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"jregier" <what
href="mailto:jregier@dixonhydrogeology.com">jregier@dixonhydrogeology.com>
wrote in message
href="news:f0cf7e3.-1@WebX.maYIadrTaRb">news:f0cf7e3.-1@WebX.maYIadrTaRb...
is the command line equivalent of surface utilities -> lable spot
elevation. I need to extract surface elevation point values for a list of
7000 horizontal points. Where can i find a listing of command line
equivalents for all map and land functions for lisp usage.
Jim
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"jregier" <Thanks
href="mailto:jregier@dixonhydrogeology.com">jregier@dixonhydrogeology.com>
wrote in message
href="news:f0cf7e3.5@WebX.maYIadrTaRb">news:f0cf7e3.5@WebX.maYIadrTaRb...
all. Robert, what is the type and format of variable cur-surf, is it the name
of the terrain surface, or an entity on the surface. I tried the sub-routine
you posted, but it gives a bad-argument type for cur-surf (i tried the name of
the surface terrain "EQUI_01_B2" and variations of entity selection).
Jim
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"jregier" <OK,
href="mailto:jregier@dixonhydrogeology.com">jregier@dixonhydrogeology.com>
wrote in message
href="news:f0cf7e3.9@WebX.maYIadrTaRb">news:f0cf7e3.9@WebX.maYIadrTaRb...
fair enough. But i still would like a (better) LISP function that returns the
elevation (or nil if out of bounds) for a point on a surface. Ive loaded the
vl com and reactors, and tried the vlisp help. Using Roberts suggestion as a
starting point,
(vlax-invoke-method
cur_surf
"getelevation"
<
how do i set the cur_surf object - something similar to (setq cur_surf
(vlax-get-object ???)).
Jim
With help, developed a function to extract an elevation from a surface (or selected surfaces from a list). It's worked fine until C3D2012 and now with the change in format I need to get it working again.
I'm getting error: "Civil 3D API: Triangle is deleted" for points outside the extent of the surface in my sub-function
(setq n
(vlax-invoke cur_surf 'FindElevationAtXY (car pt) (cadr pt)) )
It used to simply return nil without crashing and I could handle the nil value in a number of ways and continue to the next point. I use the function in a number of routines attached directly to Access databases for modelling grids and correcting elevations of fields in a number of large database sets.
Any advice on working around or other vlax function needed to check the xy coordinate to the surface is much appreciated.
Can't find what you're looking for? Ask the community or share your knowledge.