So far I found out the following:
- xyz.Shape.Area
- xyz.Shape.Volume
- xyz.Shape.Length
- xyz.Label
You can use any properties of an object that is either a double (floating point) value, quantity value, or a string (you can find these in the object's data properties tab). E.g to query for position, you can use xyz.Placement.Base.x, or to query a pad's length, you can use xyz.Length.TheNo1Odor wrote:What parameters can be obtained with the spreadsheet?
So far I found out the following:where xyz is the name of the object.
- xyz.Shape.Area
- xyz.Shape.Volume
- xyz.Shape.Length
- xyz.Label
Rotation can be accessed asTheNo1Odor wrote:Thank you.
But how is the angle of an object stored and accessed? Against the x, y and z axes?
But sometimes could be useful. It will be hard to program such code?eivindkvedalen wrote:TheNo1Odor wrote:Thank you.
There is currently no way to access the euler angles in the object placement from the spreadsheet (you can compute them, but that is tedious).
Eivind
I might consider adding it for 0.16, if my expression branch gets merged.TheNo1Odor wrote:But sometimes could be useful. It will be hard to program such code?eivindkvedalen wrote:TheNo1Odor wrote:Thank you.
There is currently no way to access the euler angles in the object placement from the spreadsheet (you can compute them, but that is tedious).
Eivind
The main problem is that Euler angles are not Euler angles. There exist a lot of notations and one has to exactly know which notation is used.But sometimes could be useful. It will be hard to program such code?
Not if but when. AFAIK you still want to finish some work first before it's ready for merge?I might consider adding it for 0.16, if my expression branch gets merged.
Yes, almost there, but it's not done before it's done!wmayer wrote:Not if but when. AFAIK you still want to finish some work first before it's ready for merge?