查看单个帖子
旧 2009-05-04, 06:46 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】creating a new ucs

creating a new ucs
creating a new ucs
hi,
i want to ask for an ucs creation:
1. i created an ucs table record with name "testucs" and xdir = (1,0,-1) and ydir=(0,1,0);
2. i inserted it to the ucs table and after that i called oddbdatabase::setucsname() passing it as an argument.
i think this makes the record current ucs for the database.
3. finally when i tried to get the xdir by calling oddbdatabase::getucsxdir() the result was: xdir = (1,0,0);
so i thought that the last method would return the xdir of the current ucs
but maybe i'm wrong. have i to call manually the global function oddbsetucsxdir() to change the current ucs settings?
thanks in advance!
hotsouce
setucsname() should alter current ucsxdir and ucsydir. but currently this not the case due to dd bug.
for now you can use global functions to set the correct values.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)