iCAx开思网

标题: 问一个设置字体的语句! [打印本页]

作者: chouhu0624    时间: 2007-7-3 18:27
标题: 问一个设置字体的语句!
CATScript里的设置字体的语句是什么?

各位不吝动动手指头赐教!谢过进来的先!
作者: jack196453    时间: 2007-7-3 19:03
我也不知道 可不可以 没试过 帮助理找到得

Property FontName( ) As CATBSTR  

Returns or sets the font name of the drawing text.
Example:
This example sets the MyText drawing text font as Courrier 10 BT.
MyText.SetFontName("Courrier 10 BT")


叁考

https://www.cadx.cn/catia/interf ... ext.htm#SetFontName

这个应该是用在 drafting里吧
作者: chouhu0624    时间: 2007-7-3 19:43
谢谢,我先按你的方法试一下!
作者: chouhu0624    时间: 2007-7-3 20:03
原帖由 jack196453 于 2007-7-3 19:03 发表
我也不知道 可不可以 没试过 帮助理找到得

Property FontName( ) As CATBSTR  

Returns or sets the font name of the drawing text.
Example:
This example sets the MyText drawing text font as Cou ...

非常感谢,问题解决了,以后还得多看看帮助!




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3