Coordinates inside a block that will update based on block locations.

Coordinates inside a block that will update based on block locations.

sandeepEZQ5X
Observer Observer
853 Views
5 Replies
Message 1 of 6

Coordinates inside a block that will update based on block locations.

sandeepEZQ5X
Observer
Observer

Is there a way to have coordinates for certain points inside a block and have them update based on different block locations used in a drawing?

0 Likes
854 Views
5 Replies
Replies (5)
Message 2 of 6

pendean
Community Legend
Community Legend
Explain more on "certain points inside a block" please?
And are you using plain AutoCAD (topic of this forum), or Civil3D or MAP3D?
0 Likes
Message 3 of 6

paullimapa
Mentor
Mentor

The attached Return Example.dwdg is based on the following tutorial:

https://dotsoft.com/blog/?p=309

Instead of calling the Block "COORDBLOCK", I'm calling it "Return"

The Return Block contains an Attribute that has a Field set to the Block's Position = insertion point

So when you Insert the Return Block the Attribute is automatically updated to match with the coordinates where you inserted the Block. Also the Attribute Field will update (after a Regen) when you Move/Copy the Return Block.

paullimapa_0-1712176653448.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 4 of 6

sandeepEZQ5X
Observer
Observer

I have a block with points inside that i need the coordinates of. Block image.png.

I will be using this block in multiple locations in my drawing. Layoout image.pngI need the X,Y coordinates of the points for all the locations the block is placed. It'll be a bonus if these coordinates can be extracted into excel along with the block number.

0 Likes
Message 5 of 6

sandeepEZQ5X
Observer
Observer
Would it be possible to do this for multiple points inside a block?
0 Likes
Message 6 of 6

paullimapa
Mentor
Mentor

Not using this example since the Field for BlockPlaceholder only recognizes the following properties (like Position) inside a Block:

paullimapa_0-1712178202580.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes