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

Catch a REFEDIT command event

99 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!