Import Z Position From Attribute

Import Z Position From Attribute

georgeTQCPM
Explorer Explorer
904 Views
1 Reply
Message 1 of 2

Import Z Position From Attribute

georgeTQCPM
Explorer
Explorer

I have a topographical survey that has all the levels showing as blocks, and one of the block attributes is the level. All the blocks have the Z position value a '0'. Is there a way I can take the level attribute and place it in the Z position.

 

There are a lot of points so manual input would be too time consuming. 

0 Likes
905 Views
1 Reply
Reply (1)
Message 2 of 2

steven-g
Mentor
Mentor

Not simply, you could probably do it using a script and the 'move' command but it would depend an awful lot on what information is in your dwg. The 'list' command will probably get you all the details you need to write a script and then importing that into Excel you could use formulas to create the script. It would depend on how many blocks you are talking about below a certain amount the time it would need would be better spent just doing the whole thing manually using the properties palette and filling in the Z value. For thousands, it would be time well spent learning how to create the script. You need to get at the XY coordinates of the block so you can use those in a script to select the block and then the Z attribute value to move the block to that point. But what is in your drawing will determine if this is possible.

0 Likes