NX Second Development - Get the coordinate system information UF_CSYS_ask_csys_info

. 1      NX9 + VS2012
 2  
. 3  
. 4      #include <uf.h>
 . 5      #include <uf_csys.h>
 . 6  
. 7  
. 8  
. 9      UF_initialize ();
 10  
. 11      // Get WCS identifier 
12 is      tag_t WcsId = NULL_TAG;
 13 is      UF_CSYS_ask_wcs (& WcsId);
 14  
15      // Get information coordinate system 
16      tag_t matrixID = NULL_TAG;
 . 17      Double CsysOrigin [ . 3 ];
 18 is      UF_CSYS_ask_csys_info (WcsId, & matrixID, CsysOrigin);
 . 19  
20 is     UF_terminate();

 

Guess you like

Origin www.cnblogs.com/nxopen2018/p/10957168.html