Odcl_GetPercentOf
(From ODCL_LM file)
<< Click to Display Table of Contents >> Odcl_GetPercentOf (From ODCL_LM file) |
![]() ![]() ![]() |
Odcl_GetPercentOf This function will get coordinate point and distance from start point of an entity to the percentage specified. |
First ParamPter Enamm entity
Second Parameter Percent as integer
Example: (ODCL_GetPercentOf (car (entsel)) 67)
Result: ((1967.4 1233104 0.0) 807.345) first value = coordinate point from start point of entity at 67% to the end of it. second value = distance representing 67% of the entity length.
AutoLisp Syntax: (ODcL_GetPercentOf Entity [as ename] Percent [as integer])
|