Inventor 2020.3 broke calling DrawingBaseViewCmd in my addin

Inventor 2020.3 broke calling DrawingBaseViewCmd in my addin

pball
Mentor Mentor
272 Views
0 Replies
Message 1 of 1

Inventor 2020.3 broke calling DrawingBaseViewCmd in my addin

pball
Mentor
Mentor

After I upgraded to 2020.3 my addin that creates a drawing for a currently open part no longer functions properly. This code takes an open part/assembly and creates a new drawing, resizes the drawing as required, and then opens the Base View command to allow the user to add views to the drawing. After this update the Base View command pops up and them immediately closes leaving a blank drawing.

 

Using the command below by itself in the VBA immediate window still functions as expected. So it doesn't seem as simple as that function being broken.

ThisApplication.CommandManager.ControlDefinitions.Item("DrawingBaseViewCmd").Execute()

 

I then tried to create a simplified version of my code with just the bits before and after that command but that also worked as expected.

 

I unfortunately do not have time to further debug this issue currently, but 2020.2 works and the update doesn't. Anyone else happen to use this command in a script and have issues in 2020.3?

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
0 Likes
273 Views
0 Replies
Replies (0)