Message 1 of 3
Force selecting first point of ModelLine Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am posting the ModelLine command using the code below:
Autodesk.Revit.UI.RevitCommandId cmd_id
= RevitCommandId.LookupPostableCommandId(
PostableCommand.ModelLine);
uiapp.PostCommand(cmd_id);Is there any way to force select the first pick point of the command?
Maybe using user32.dll to simulate a click event on the screen but I couldn't get it done..
Any ideas?
Developer Advocacy and Support +