Mtext Field to populate current X and Y position
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all!
I've got a block that i use to dimension electrical utilities in my drawings. Right now the longitude and latitude are attributes that have fields in them to populate the x and y position. The problem is that i wanted to attributes to not show up in the properties pallet anymore, since i will never want to input those values manually.
I tried a few different approaches. The first being that i made the attributes constant so that they no longer showed up in the properties pallet when i had the object selected. But when i did that it made it to where the x and y values no longer are automatically updated.
The second approach i tried was to get rid of the attributes and replace them with mtext. The issue im running into is that when creating a field the "block placeholder" was no longer available, so i instead used the base point object and got my x and y off that. I think its pulling x and y from the blocks 0,0 though, and not the global 0,0.
Anyone have any ideas on how i can get the longitude and latitude to auto populate, while still keeping them from showing up on my properties pallet? Ive attached the dwg file with all 3 versions for you to use and play with.