CAD Forums > CAD General

Move entities to ea. individual rounded z elevation X.X? Polylines - tenth

(1/2) > >>

Something Clever:
I have multiple polylines at different elevations.  Looking for a lisp or idea for setting entities to their individual z-value round tenth elevation.

Autodesk C3D 2023 Windows

kdub_nz:

--- Quote from: Something Clever on November 29, 2023, 12:43:47 PM ---
 Looking for a lisp or idea for setting entities to their individual z-value round tenth elevation.
:thinking: Data entry wastes my time.

Autodesk C3D 2023 Windows

--- End quote ---

Sounds like you want to select and auto-move each ?

But what determines the Zvalue ??

What is a 'tenth elevation.' ?

and how exact is 'round' as a location ?

Regards,

Something Clever:
Clarification, the multiple entities have varying decimal elevations / z-values (XXXX.XXXXXXXXX') which i'd like to "auto-move" said entities to their individual nearest tenth of a foot (XXXX.X')

Thanks

Something Clever:
If I were to set my unit precision to 0.0, could a lisp possibly then just copy and re-write each Z-value property as they already exists?

kdub_nz:
I haven't played in feet and inches for more than 50 years, but this adaption by Alan of one of my metric converters may be of use.

this returns a string, so you'll need to run the string through ( atof str ) before you change the elevation value,

https://www.theswamp.org/index.php?topic=25549.msg307408#msg307408

Navigation

[0] Message Index

[#] Next page

Go to full version