Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Font Index numbers

poco2013
Advisor
Wondering if there is a listing of the available Fonts in Archicad and their index number?
Gerry

Windows 10 - Visual Studio 2019; ArchiCAD 25
1 ACCEPTED SOLUTION

Solution
Ralph Wessel
Mentor
I think you'll find the available fonts match those installed on your machine, so it will vary from on installation to another.

Consequently, I also suspect that the font indices won't necessarily be consistent either.
Ralph Wessel BArch

View solution in original post

3 REPLIES 3

Solution
Ralph Wessel
Mentor
I think you'll find the available fonts match those installed on your machine, so it will vary from on installation to another.

Consequently, I also suspect that the font indices won't necessarily be consistent either.
Ralph Wessel BArch

View solution in original post

poco2013
Advisor
Bummer!!

Setting the font for text output requires a Font index number not a Font name.

So I guess i'll have to use the getattribute function to get the index first? - seems like a roundabout way?
Gerry

Windows 10 - Visual Studio 2019; ArchiCAD 25

Ralph Wessel
Mentor
It's not so bad - you can use ACAPI_Attribute_Search to look up the font by name, which gives you just the attribute header (including the index) without loading the whole attribute.
Ralph Wessel BArch

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!