Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
jpi656UL
245 Views, 3 Replies

AssemblyHalfSectionViewCmd - how to carry out via ilogic?

Hi guys,

 

I was looking for an information to automate section view for the assembly and to be honest I stuck here:

ThisApplication.ActiveDocument.SelectSet.Select(assm.ComponentDefinition.WorkPlanes.Item("XY Plane"))
ThisApplication.CommandManager.ControlDefinitions.Item("AssemblyHalfSectionViewCmd").Execute

now the window pops up and I need to hit  ok button:

jpi656UL_0-1669906891071.png

 

I found some information to use 

SendKeys 

to close the window resulting with execution but apparently it is no longer supported.

 

Can anyone help me with this? Isn't it possible any longer?