Dynamic Input for GripOverrule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I'm using the code modified from this blog post from ADN to add grips to a AutoCAD CIvil 3D Profile View. Everthing works great except I want the user to be able to type in the Elevation or Station value of what the station or elevation of the grip should be after the change. Here is the current code in action: screencast.com/t/8ZSE4gNcPQ I want to replace the AutoCAD default option to show me the distance and angle with a dynamic input box to enter either the station or elevation values. I'm not quite sure where to put the code or what to put in there. The documentation on the GripData seems a bit sparse.
I'm guessing it should be put in
public override ReturnValue OnHotGrip(ObjectId entityId, Context contextFlags)
{
return base.OnHotGrip(entityId, contextFlags);
}
but not quite sure what to put in there. Searching on line hasn't been too successful in finding information on how to get AutoCAD to show the info.
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni