Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C++] Getting a DgnTextStylePtr for StyleID=0

$
0
0

Hi Bruce,

from testing a workaround could be to retrieve the TextStyle NONE from active settings. e.g. if TextStyle NONE is active, this gets this textStyle:

		DgnFileR dgnfile = *ISessionMgr::GetActiveDgnFile();
		DgnTextStylePtr textStyle = DgnTextStyle::GetSettings(dgnfile); 

textStyle isVaild() and !isNull., but as the ID=0, this cannot be used to set/get a textStyle.

Defect # 698679 is filed to address this issue.

Best regards,
Artur


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images