Sheet Size iLogic Problem

Sheet Size iLogic Problem

Anonymous
Not applicable
3,566 Views
22 Replies
Message 1 of 23

Sheet Size iLogic Problem

Anonymous
Not applicable

I have a very simple iLogic code that I am running before save on my drawing template. It loads the correct border size based on the sheet size. The problem is, all my borders are zone borders but when it applies the new border, it erases all numbers and letters marking the zones. They don't get erased if I change the title block manually. Anyone know why it does that?

 

If ActiveSheet.Size = "A"
ActiveSheet.Border = "The Name of my A title block"
End If

0 Likes
Accepted solutions (1)
3,567 Views
22 Replies
Replies (22)
Message 21 of 23

freesbee
Collaborator
Collaborator

@adam.nagy wrote:

(...)

The real solution for you would be if AddBorder() functioned as it should, but not not sure when that will happen.

(...)


this is also my case, I need it working fine in VBA, otherwise I have to start building the workaround of many size-dependand borders, which is awful.

Any chance to get it working in reasonable time? It's 4 years already...

Massimo Frison
CAD R&D // PDM Admin · Hekuma GmbH
0 Likes
Message 22 of 23

adam.nagy
Autodesk Support
Autodesk Support

Hi Massimo,

 

The issue has been fixed for Inventor 2017

I just checked it there and AddBorder() for a Zone Border seems to work fine now.

 

Cheers,



Adam Nagy
Autodesk Platform Services
Message 23 of 23

freesbee
Collaborator
Collaborator

...well, this is very good news.

I have a few 2017 available by another company, I'll take a look at it and report accordingly.

Thanks!!

Massimo Frison
CAD R&D // PDM Admin · Hekuma GmbH
0 Likes