How to rotate different objects based on unique attribution?

How to rotate different objects based on unique attribution?

Anonymous
Not applicable
745 Views
2 Replies
Message 1 of 3

How to rotate different objects based on unique attribution?

Anonymous
Not applicable

I currently am designing a fiber optic network.  I have used the map import feature to bring in shapefiles from a GIS software.  I have assigned layers, blocks, and pulled in attribution with it using map import.  

 

I have downguys (anchors for utility poles) that come in at 0 degrees.  When I look at the shapefile attribution in the properties, it has the proper angle that it should be at but the properties of the block itself is still at 0.

 

Is there a way to apply the shapefile rotation attribute directly the rotation attribute of the block, whether it be during the import process or a lisp routine after the fact?

 

I attached a screenshot of the properties of the object.  I pointed out the rotation pulled from the shapefile and the rotation value of the object properties.  I have also attached a CAD file with several of these instances.  

 

 

0 Likes
Accepted solutions (1)
746 Views
2 Replies
Replies (2)
Message 2 of 3

АлексЮстасу
Advisor
Advisor
Accepted solution

This can be the case - via Map 3D Query for blocks:

0. Open a new dwg. Close the blocks file.
1-1'. MAPWSPACE, Map Explorer.
2. Attach points Drawing.
3. Define Query.
4-4'. Specify the necessary objects.
5. After Properties.
6-10. Expression for Rotation.
11-11'. Draw, Execute Query.
00. Detach Drawing.

Query_Rotation.png

Query_Rotation_1.png


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

Message 3 of 3

Anonymous
Not applicable

Worked beautifully.  Thank you!

0 Likes