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

Issue with AddTitleBlock Method

Hello, 

 

I'm working updating my company's title block editing macro. One of the requested improvements is to add rev lines as needed instead of being limited to what is included at design time (originally 7 lines with 4 textboxes). I've developed a process to do this, however when there is more than 7 lines the AddTitleBlock method throws "Invalid procedure call or argument"

 

However the macro still creates the title block with the expected number of lines and it can be added manually. 

 

Is there a reason for this? at lower number of rev lines my code works just fine.

 

Thanks