Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sheet Size iLogic Problem

22 REPLIES 22
SOLVED
Reply
Message 1 of 23
drguitarum2005
2648 Views, 22 Replies

Sheet Size iLogic Problem

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

22 REPLIES 22
Message 21 of 23
freesbee
in reply to: adam.nagy


@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
Message 22 of 23
adam.nagy
in reply to: freesbee

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
in reply to: adam.nagy

...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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report