Enscape Asset library missing parameters

I like to have a file of each category of the asset library so i can quickly import the needed assets into my project,

this is a very nice workflow especially when working with dynamo scripts for placing objects.

Luckily Enscape is expanding it’s library quickly with each release.
But that also makes it harder to keep the files up-to-date.

Especially because the data from the object isn’t transferred to Revit. Enscape is a library with data and Revit is a database.

but when i look at the properties of an Enscape asset, there is not much there.

But when i read the sjon file of the object i get a lot more data.

why isn’t the Revision, description, the category and tags not exported into the Revit family.

The data is right there… it would make it so much easier to see if you have your files up to date.

as an extra note: it would be nice if the sitting people would also have a parameter of the height that they are sitting.
and that chairs would have their seating height.
That way we could easily program that people would sit on chairs made for their height.

we are working with databases, please get us the ability to work with these databases.

for now i made a script..

it reads all the sjon files from my offline Enscape Asset library and the elements in my library Revit file

With a different script i added a few parameters to my excisisting elements in my library Revit file..

i will adjust the planting family template so that these parameters will be in when i place new items.
%localappdata%\programs\Enscape\Data\RevitFamilies

i extract the Name, Category, Id, Tags and Revision from the sjon files

i am then comparing the Id’s from the sjon files with the Id’s from my project.

when i have Id’s in my project that are not in the sjon files, then those elements will be turned Red

the sjon information is pushed to the parameters in the other elements

then in the script it gives me a list of the names of Assets not yet placed in the library Revit file

i also build in that it will compare the Revision number with the Revision of the elements in the library Revit file.
And it will turn those elements yellow so i know i need to update those.

this is a work flow that i can use until Enscape descides to push all info of the library Assets also into the Revit element.

one more remark

there was a Bamboo… this was the same as Bamboo 001

at one point Enscape changed some of the naming of a few Assets.

unfortunatly the new name did not give it a Revision..

also not all elements have Tags, would have been nice if this element had at least the tag Bamboo..

i love that the library is expanding rapidly but there are still a lot of improvements to be made.

Dear Enscape,

i just installed version 3.4 and downloaded the update of the library…

Why did you adjust the sjon files…

now the sjon files only desplay the points.

all the info about ID TAGS Categroy is gone and no longer stored in the sjon files..

please add this back into the sjon files so we can use enscape as a database

@arno_delange I noticed that too, they’ve changed the entire structure of the library:

  • The thumbnails are no longer base64’s within the json files, they are in a separate folder within the library structure as jpg’s BUT with the long json names as their file names.
  • The Library categories are in their own json file.
  • The main body of the library is in a compressed (gzip) json file.

It’s made it near impossible for me to do my PDF library for my boss to select from.

I’m not sure how you/why you assess the raw library Arno but from my point of view why is it so hard to simply have a visual index of all the assets on the Enscape site? @Demian_Gutberlet

@Paul_Russam ,

as i explain above i want to have a scene with all the objects of a category.. it is easier and quicker to place in a new scene then through the asset library. But i want to be sure my scene is up to date .. so i need to check if i have all the families in my scene

Opps, I never scrolled up beyond your last post … stupid me.

Nice solution … or was until they changed everything.

I’m back on 3.3 but when I had 3,4 installed I looked at the new structure, It’s still all there, the categories have their own json file with each cat getting a unique id.

The main json.gzip (could be json.gz, I cant remember) file has all the assets data each with their own unique id which references the category id and the corresponding jpg thumbnail.

You’ll need to unpack the compressed json file to see its contents, I think I used winrar but I can’t remember.

thanks for the tip of the zip file.. i think i can still use my approach reading this file..

unfortunately.. they use a code GUID for the category and the tags.. were to find the info what those codes mean..

so what is what category

and there are 38 tag code.. not much if we have almost 4000 objects… but what is what

There is a separate json file that lists all the categories, each cat has its own GUID that corresponds to the entry in the main json.

Its going to be a case of cross-referencing between the 2 files.

I’m no programmer but I picture a process where the categories are loaded into an array and then when the main json file is read a lookup is performed on the array to match the GUID against its category name.

Yes i see that file need to load that in too… oke this could work..

only leaves the problem of the tags…

The tags have to be somewhere in one of those 2 files, I couldn’t find them anywhere else.

explanation of my workflow..