cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
BrunoValads
Booster

Iterate thru GS::ObjectState list

I'm handling with API_AddOnCommand and I'm trying to send a json to my addon but this json has an array field, that should be read in order to proceed. How can I iterate thru a GS::ObjectState when it's a list?

1 Solution

Accepted Solutions
BrunoValads
Booster

Oh found it in the LibraryManagement_Test.cpp example, which was using for array of strings and I adapted for an array of objects:

GS::Array<GS::ObjectState> arrayObject;
myObject.Get(myFieldName, arrayObject);

 

Go to post

1 Reply 1
BrunoValads
Booster

Oh found it in the LibraryManagement_Test.cpp example, which was using for array of strings and I adapted for an array of objects:

GS::Array<GS::ObjectState> arrayObject;
myObject.Get(myFieldName, arrayObject);

 

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!