Blured Logo Code

Blured Logo Code

Anonymous
Not applicable
326 Views
2 Replies
Message 1 of 3

Blured Logo Code

Anonymous
Not applicable

Hello, Since I upgraded to 2020, the company logo, in my titleblock looks blury...

 

Knipsel1.JPG

 

I do know how to set it back correct, but was wondering if some code could automatically do this? It was set to "Use Mask" which was OK in Inventor 2018, but it has to be on "Use Image Alpha" in 2020 in order to display fine. It does print fine tought in both settings. It is just a displaying matter...

 

So if I just could update the acrtive titleblock by clicking 1 button 🙂

 

Knipsel.JPG

0 Likes
327 Views
2 Replies
Replies (2)
Message 2 of 3

YuhanZhang
Autodesk
Autodesk

The API is not exposed for this yet since this is a change in UI in Inventor 2019, but we logged a wish for this, you can provide the number INVGEN-29058 to query its status. If you can provide more info to us may help us to better evaluate it:

 

1. You company and email.

2. How many documents maybe impacted so you need to automate it.

 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 3

marcin_otręba
Advisor
Advisor

i think it is possible like this:

correct your title block in template file then using api copy it to all requested drawings or make button wchich will copy it to opened drawing:

Dim osksym As TitleBlockDefinition
Dim olddraw As DrawingDocument
Dim odraw As DrawingDocument
olddraw = g_inventorApplication.Documents.Open(Your template path, false)
osksym = olddraw.TitleBlockDefinitions.Item(Your title block name)
osksym.CopyTo(odraw, True)

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes