AnsweredAssumed Answered

swRevisionTable_TriangleSymbol linking to hex symbol

Question asked by Mark Schwandt on Jan 8, 2021

Is anyone else seeing this?

 

If I use this line in my code:

 

Set swRevTable = swSheet.InsertRevisionTable2(True, 0#, 0#, 4, "MyRevTable.sldrevtbt", swRevisionTable_TriangleSymbol, False)

 

The symbol when adding a new revision shows up as a hexagon.

 

If I change the line to this:

 

Set swRevTable = swSheet.InsertRevisionTable2(True, 0#, 0#, 4, "MyRevTable.sldrevtbt", 1, False)

The symbol when adding a new revision shows up as a triangle.

 

I looked at the API help files, and in swRevisionTableSymbolShape_e Enumeration it says that 1 should be a circle, and 3 should be a triangle, that is why I used the "wRevisionTable_TriangleSymbol" in the first version of my code, which worked fine until around SW2018, ever since, it's been messed up, and they still haven't fixed the API help files.

 

It's really frustrating when the instruction book for your software has bad info.

Outcomes