Get ON_Font object from ONX_Model


(Sandip Ichake) #1

Hi,

With previous version there was API available to read the font table using ONX_Model as follows:
onxModel->m_font_table[iCount]

How to fetch font information with ONX_Model in opennurbs 6?

Please note that, I have already referred the below link which provide the font information using
ON_DimStyle object:

Thank you in advance!

Thanks,
Sandip


(Dale Fugier) #2

Hi @sandip.ichake,

There is no longer a font table on ONX_Model. Fonts are members of ON_DimStyle, per the documentation you’ve referenced.

– Dale


(Sandip Ichake) #3

Thanks Dale for confirmation!