[Ro...] Posted June 24 Share Posted June 24 Hi guys, is there any way to get the unit of a characteristic? Im looking for something like this: getActual("test").actual.getunit Link to comment Share on other sites More sharing options...
[Ka...] Posted June 24 Share Posted June 24 I use getRecordHead("lengthunit") but this return whole program settings not individual characteristic Link to comment Share on other sites More sharing options...
[Ro...] Posted June 25 Author Share Posted June 25 Too bad, I would have needed something to tell me whether the program is set to angular degrees or radians Link to comment Share on other sites More sharing options...
[Ma...] Posted June 25 Share Posted June 25 I think you can not change individual characteristic. Changing angle units are for whole plan - stored in "inspset" file findable by "inAngleUnit" You can make condition with help of therotecial element where you put 90° angle. Report: 90,0000 -> degrees / 1,5708 -> rad / 90° 0' 0" -> deg. min. sec. I could not find angle unit in pcm - maybe others can Link to comment Share on other sites More sharing options...
[Ch...] Posted June 27 Share Posted June 27 I also do not see that you can set for individual unit.. but I did test by changing the entire plan to 1)degrees 2)DegMinSec 3) radians and the following returns the chosen units : getNominal("Some Characteristic Name Here").lengthunit result returns one of the following : #degrees, #DegMinSec, or # radians Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in