![]() |
【转帖】getcurrentucs
getcurrentucs
getcurrentucs hi, i am trying to get origin, xaxis, yaxis of current ucs. the getcurrenucs() function is specified as /*secret*/ and i am not supposed to use it as per documentation. is there any other way to get xaxis and yaxis of current ucs ? thx. ucs info can be accessed via database variables: ucsorg, ucsxdir, ucsydir. note: oddbdatabase functions getucsorg() etc. return ucs info for model space, getpucsorg() etc. - for active paper space - so you need to look at tilemode first to decide which of them should be called. another method - getsysvar() function takes care about it: getsysvar("ucsorg") will return right ucs origin for active space (ms or ps). sergey slezkin thx vm sergey. it works with getucsxdir() and getucsydir() after checking with model/paper space. |
所有的时间均为北京时间。 现在的时间是 01:47 PM. |