VDS in Inventor crashing with Customised XAML

VDS in Inventor crashing with Customised XAML

Nick_Hall
Collaborator Collaborator
234 Views
1 Reply
Message 1 of 2

VDS in Inventor crashing with Customised XAML

Nick_Hall
Collaborator
Collaborator

Hi

 

I am trying to create a customised UI for the "Display Datasheet" & "Copy current document" commands. The Inventor.xaml file and the .ps1 files are quite heavily customised.

 

I've run into an issue where the following message box appears most of the time I run the "Copy current document" command.

Nick_Hall_0-1747199027436.png

 

Sometimes, it is followed by this message box.

Nick_Hall_1-1747199102201.png

 

Whether the second message occurs or not, the result is almost always that Inventor becomes unresponsive apart from the Minimise, Maximise and Close buttons, although sometimes it will kill Inventor completely, and I can submit a crash report.

 

The form opens reliably when using the "Display Datasheet" command, which points me to something happening when it is opened with $Prop["_CreateMode"] set.

 

Has anyone got any ideas about how to debug this issue? 

Any help gratefully received

Nick

0 Likes
Accepted solutions (1)
235 Views
1 Reply
Reply (1)
Message 2 of 2

Nick_Hall
Collaborator
Collaborator
Accepted solution

With some help from an eagle-eyed colleague, I tracked it down to some iLogic running on the After Open Document trigger.

 

Panic Over!!

0 Likes