Valued Contributor
Posts: 61
Registered: ‎06-19-2002
Message 1 of 1 (100 Views)

Catch a REFEDIT command event

100 Views, 0 Replies
06-08-2007 05:20 AM
Hi everybody
Well, I did not have too much luck in my last post, so I am rephrasing my last post.

I would like to catch the event when someone updates a xref by using the REFEDIT command (by double clicking on the dwg xref this command fires activating a toolbar, then you are able to modify the xref and save the changes by selecting the save option on the toolbar). I notice there is a REFCLOSE command and then a SAV one, but I am not able to catch this last command by issuing

Private Sub AcadDoc_EndCommand(ByVal CommandName As String) Handles AcadDoc.EndCommand
if CommandName ="SAV" then

'here is my code

end if

End Sub

Is there any othe way?. Thanks for you help.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.