修改天正墙体的端点坐标
用(vlax-curve-getEndPoint obj)和(vlax-curve-getStartPoint obj)能查到天正墙体的端点坐标,但是用(vlax-method-applicable-p OBJ 'EndPoint)返回nil,怎么修改天正墙体的端点坐标?你加载XDRX API,
然后用 (xdrx_getpropertyvlaue (car (entsel))) 选中墙,然后看看屏幕打印什么,贴上来看看。 我在cad2006加载了xdrx_api16.ARX,也加载了xd-lisp-lib.VLX,运行提示:
选择对象: no function definition: XDRX_GETPROPERTYVLAUE
在ACAD2012加载了XDRx.18.x64.ARX,也加载了xd-lisp-lib.VLX,运行提示:
选择对象: no function definition: XDRX_GETPROPERTYVLAUE
加载的是最新版本的xdrx_api,2015-1-2的 学习学习,,,,,,,,,,,,,,,,,,, newer 发表于 2015-1-15 22:47
你加载XDRX API,
然后用 (xdrx_getpropertyvlaue (car (entsel))) 选中墙,然后看看屏幕打印什么,贴上 ...
选择了一条直线,返回的内容如下
顺便您的拼写有误,是value吧
命令: (xdrx_getpropertyvalue (car (entsel)))
选择对象:
------ Geom Entity Method ------
<kLineSeg3d>:
Edit Functions:
├───Set
├───StartPoint
├───EndPoint
Geometric Inquiry Functions:
├───Fillet
├───Angle
├───ToBox
├───endPoint
├───length
├───midPoint
├───startPoint
Miscellaneous Functions:
├───baryComb
├───projIntersectWith
Query Functions:
├───getBisector
<kLinearEnt3d>:
Containment Functions:
├───isOn
Direction Functions:
├───isColinearTo
├───isParallelTo
├───isPerpendicularTo
Inquiry Functions:
├───direction
├───pointOnLine
Intersection Functions:
├───intersectWith
├───overLap
├───projIntersectWith
Query Functions:
├───getLine
├───getPerpPlane
<kCurve3d>:
Bounding Box Functions:
├───boundBlock
├───orthoBoundBlock
Closest Point Functions:
├───closestPointTo
├───projClosestPointTo
Degeneracy Functions:
├───isDegenerate
Distance Functions:
├───distanceTo
Edit Functions:
├───setInterval
Evaluation Functions:
├───evalPoint
Geometric Inquiry Functions:
├───hasEndPoint
├───hasStartPoint
├───isClosed
├───isCoplannarWith
├───isLinear
├───isPeriodic
├───isPlannar
Length Functions:
├───divide
├───area
├───areaOf
├───length
├───paramAtLength
├───porintAtLength
Parameterization Functions:
├───paramOf
├───reverseParam
Point Containment Functions:
├───isOn
├───orthoProject
├───project
Query Functions:
├───startParam
├───endParam
├───firstdeiv
├───firstderiv-
├───secondDeriv
├───secondDeriv-
├───getClosestPointTo
├───getInterval
├───getLocalClosestPoints
├───getNormalPoint
├───getProjClosestPointTo
├───getSamplePoints
├───getSplitCurves
├───getTrimmedOffset
Subdivide Functions:
├───explode
<kEntity3d>:
Equality Checking Functions:
├───isEqualTo
Point Containment Functions:
├───isOn
Type Identification Functions:
├───isKindOf
├───type
------ DB Entity Method ------
Class AcDbLine:
├─ToBox
├─Angle
├─Get
├─Elevation
├─Thickness
├─Normal
├─Vertices
├─FeaturePoints
Class AcDbCurve:
├─Area
├─Centroid
├─DistanceTo
├─Divide
├─Direction
├─EndParam
├─EndPoint
├─GetClosestEnt
├─GetClosestPointTo
├─GetFirstDeriv
├─GetFirstDeriv-
├─GetSecondDeriv
├─GetSecondDeriv-
├─GetPointAtParam
├─GetPointAtDist
├─GetPointsAtDist
├─GetPointsAtDists
├─GetParamAtPoint
├─GetParamAtDist
├─GetDistAtPoint
├─GetDistAtParam
├─GetSamplePoints
├─IsClosed
├─IsOn
├─IsPeriodic
├─MidPoint
├─PerpLine
├─StartPoint
├─StartParam
├─Length
Class AcDbEntity:
├─9PT
├─BoundingBox
├─Color (None or T)
├─ColorIndex(None or T)
├─Centroid
├─ECS
├─Elevation
├─Ename
├─GeomExtents
├─ GripPoints
├─IsMemoryEntity
├─Layer(None or T or NIL)
├─Layout
├─Linetype(None or T or NIL)
├─LinetypeScale
├─LineWeight
├─OrthoProject(PlaneT)
├─Project(Plane Normal T)
├─PersistentReactor
├─Plane
├─PlotStyleName
├─StretchPoint
├─Transparency
├─Visibility
├─XDir
Class AcDbObject:
├─ClassName
├─OriginalDatabase
├─Database
├─ExtensionDictionary
├─FieldDictionary
├─IsA
├─IsAProxy
├─IsErased
├─IsReallyClosing
├─Handle
├─HasFields
├─HasPersistentReactor
├─MyParent
├─ObjectID
├─Owner
├─xData
页:
[1]