I'd like to save all the results of the [F8] properties of an object in a file, preferably CSV separated. Screen shots are of limited use comparing differences, and no use for searching.
Is this possible? And will the export be according to the Novice/Expert green/gold filter setting on the top left menu?
And while I have a screen shot illustrating, what should
do in the screenshot above, because if you look at my post here , you will see that too many animation events are generated on the conveyor.
PlantSim Ver 126.96.36.1994 & Windows 7 Ent. SP1
~~~~ 1st post in thread ~~~~
have a look at "putattributeNamesIntoTable"
to write the attributes into a table
then to add the attribute values ( through a loop)
Oh, that's cool!
You could also combine the "putattributeNamesIntoTable" with the AttributeExplorer and its query function to get the attributes and values of many objects and save them to an Excel or text file.
@Andreas_SimPlan- I am not having any joy here, if you have some time to advise I would appreciate it.
AttributeExplorer is not recognised as an installed component, or else this frame needs it to be opened prior to accessing it. The Help is so vague as how to open it I am left in the dark.
Below my code segment showing error messages, and notes inserted to try to resolve it, as well as what Help had to offer, which is not enough for a newbie like me to get my head around
/* You could also combine the "putattributeNamesIntoTable" with the "AttributeExplorer" and its query function to get the attributes and values of many objects and save them to an Excel or text file */ --> // AttribExplorer.AttributTabelle := F8_save_table; //unknown identifier AttribExplorer --> AttributeExplorer.AttributeTable := F8_save_table; //unknown identifier AttributeExplorer /* 2D Reference Help > Information Flow Objects > AttributeExplorer > AttributeExplorer To add the AttributeExplorer to your simulation model, click [ Ribbon tab [ Home [ <img="3 books purple,yellow,green /> Manage Class Library [ Basic Objects [ <section=4 /> InformationFlow [ AttributeExplorer \ THE ABOVE HAD ALREADY BEEN SET 2D Reference Help > Information Flow Objects > AttributeExplorer > Dialog Window of the AttributeExplorer > Show Explorer To show the list window in which the AttributeExplorer displays the objects and the attributes you defined, click this. Instead, you can also right-click the AttributeExplorer object in the Frame and select Show on the context menu. I CANNOT SEE the AttributeExplorer object IN THE FRAME TO OPEN IT WITH R-CLICK */
What is the underlying image to start the process ro bring up [Show] here - is it a chart instance ?
Below : "To show the list window ..... click this " <----- there is nothing listed.
I am trying to following the instruction in last line in this image but I cannot see an AttExpl object in my frame either
@ AttributeExplorer is not recognised as an installed component, or else this frame needs it to be opened prior to accessing it.
What kind of license do you have ?
It seems you need a professional license (s.b.)
Hi @Old_Sohol, sorry, you wrote and pasted too many things for me to understand...
As simulator wrote you need a Professional License for the AttributeExplorer. When you have one and you have loaded the class (see simulators screenshot), then the AttributeExplorer appears in the Toolbox (InformationFlow -> AttributeExplorer) and you can insert it like any other Plant Simulation object.
The code in my screenshot only works, when the AttributeExplorer, the method and the object, you want to retrieve your attributes from, are in the same frame.
Hope that helps....
Thanks @simulator, will give your zzz.zip a spin and see what happens.
@Andreas_SimPlan, I do have a professional licence (cannot query that with a model open it seems - is that right?). Thanks for the advice how to insert an AttExpl object into the frame, that was one step that did not seem to be explained anywhere.
However, Murphy is still laughing in my face on this one
In this case the AttributeExplorer should be in the same frame as the calling method.
In any case this is where you can find what license you are using and how it works (s. attachment)