"SpatialFieldManager" change "Analysis Configuration" Help

"SpatialFieldManager" change "Analysis Configuration" Help

Anonymous
Not applicable
925 Views
3 Replies
Message 1 of 4

"SpatialFieldManager" change "Analysis Configuration" Help

Anonymous
Not applicable

I have an Analysis Result Object with many Analysis Configuration.

I'd like to animate the view by switching them in a sequence.

 

I can change this parameter by value(which I have no idea where it comes from):

 

sfm.get_Parameter(BuiltInParameter.SPATIAL_FIELD_MGR_CURRENT_NAME).Set(8);

 

But can't change by Value String(which is more meaningful):


sfm.get_Parameter(BuiltInParameter.SPATIAL_FIELD_MGR_CURRENT_NAME).SetValueString("1407250901");

 

Is there a way to change it or find the available values?

0 Likes
Accepted solutions (1)
926 Views
3 Replies
Replies (3)
Message 2 of 4

augusto.goncalves
Alumni
Alumni
Accepted solution

In fact the SpatialFieldManager.CurrentMeasurement property should be used instead the direct parameter...

 

According to the help file, it "Must be in the range from 0 to (numberOfMeasurements - 1)".

 

Does that help?

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 4

Anonymous
Not applicable
Thank you Augusto!

Also note that when I've tried to get it through parameters the integer value was not sequential.

By sfm.CurrentMeasurement it is perfect!
0 Likes
Message 4 of 4

Anonymous
Not applicable

Here's an update on my Night Time Project.

I've pretty figured out the software side thanks to Tammik, Mattison for online documents and Goncalves for instant help.

Now I have a lot of soldering and fighting with XBees a head of me..

 

http://www.redhotbim.com/2014/08/140811-update-bim-iot-occupancy-comfort.html