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

It is possible to create button for iLogic rule (since Inventor 2023) Or you can use some extension for this purpose

For example our add-in XTools or @JelteDeJong has its own free add-in Button Constructor 

 

Or you can convert this code to VBA. You need to split variable definitions and its assignment and use 'Set' keyword appropriately. API calls are the same