
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everyone.
I'm trying to create a button macro that will allow me to snap to an entity and use it's Z value as the elevation I want to work at. I'm attempting this since I really don't want to select an entity and click a grip and write down the elevation and then type that in the ELEV prompt. I have written the steps out but I'm a novice in terms of syntax and getting it write in the macro.
Here are my steps:
1. type elev
2. type .Z
3. digitize point
4. prompted for .XY and digitize point from step 3
5. prompted for second point type .XY
6. type @
7. prompted for Z enter 0
8. enter 0 for thickness
This is what I currently have for my macro: ^C^C_elev;.z (the simple part - having difficulty with getting steps 4 to 8 in it)
I'm constantly working in a 3D environment and always looking for a way to set my elevation simply by clicking an entity (or anywhere on that entity) and using that points Z value to be my working elevation. I'm using AutoCAD OEM and not using Map or Civil (which I presume would have this function available to it).
Any help would be greatly appreciated.
Thanks,
Sean
Solved! Go to Solution.