Create im.schema.json with subsets

Create im.schema.json with subsets

Anonymous
Not applicable
2,253 Views
13 Replies
Message 1 of 14

Create im.schema.json with subsets

Anonymous
Not applicable

Good day!

Can I create im.schema.json with user groups, such as the image below? Membership of the group is determined by the description of the attributes of each object.

0 Likes
2,254 Views
13 Replies
Replies (13)
Message 2 of 14

Anonymous
Not applicable

This is also I - PrudnikovVS (I log in at wrong account). When these groups are created in the model, the following structure (in the picture) appears in the model file folder. If it is copied to a new project (in Sample.files\unver\ModelExplorer\), then the whole structure of the model explorer is stored. Is it possible to create a single file (im.schema.json) from this set? Then it will be possible to use it as a template when creating a new models.

structure.jpg

0 Likes
Message 3 of 14

elliott.rosenfeld
Autodesk
Autodesk

Hello,

 

It is possible (although not recommended for most users) to create a custom schema with your own Feature Class/Subsets.

I have not personally attempted to create a custom schema for quite a while, so I will need to do some testing before I can give you detailed instructions.

 

However, these blogs posts may be helpful for you as you attempt to do this on your own. The User Interface and some naming conventions in these blogs may be a bit out-of-date, since they are from 2011 when InfraWOrks 360 was still in its very early stages (and wasn't even called InfraWorks 360 at that time), but is still relevant. Give these three posts a read and tell me what you think! I will also test out creating a new schema when I get a chance!

 

Best,

Elliott

 

 


Principal Specialist, Infrastructure
Message 4 of 14

Anonymous
Not applicable

Good day, Elliott!

It looks like a very useful links you gave now undertake to study and try!
If you will try to create a schema, then please, try create the subsets to be classified on the basis of attributes. With them I did not get, or rather, I can not understand is how to create them in the scheme.

Thanks!

0 Likes
Message 5 of 14

Anonymous
Not applicable

Elliott, I try create new project with schema template, wich I took from your post Where are my GIS attributes? (Part 1), but the format of the schema changed and now requires schema.json extension. You know where to get the scheme used by default? I tried to just change the extension, but it does not work.

0 Likes
Message 6 of 14

elliott.rosenfeld
Autodesk
Autodesk

By default, the schema for your model is stored within the "exploded" folder.

For example, I have a cloud model called San Francsico that is stored within C:\Users\myusername\Documents\Autodesk InfraWorks Models\Autodesk 360\modelID#\San Francisco.files\exploded\schema

 

Is that what you were looking for?

 

Best,

Elliott


Principal Specialist, Infrastructure
Message 7 of 14

Anonymous
Not applicable

Thanks, Elliott!

No, I mean where to find a schema template that Infraworks uses the default to create a model.
I wanted to take it, as a basis, and try to create my classes and subsets.
If I take this scheme, which you have written higher, it is also an error while creating the project.

0 Likes
Message 8 of 14

lippola
Alumni
Alumni

Hi there,

please use this post where i did a rewrite due to the fact that we changed to the json file format: 

 

http://autodesk.typepad.com/bimagination/2012/10/update-your-schema-in-order-to-provide-more-descrip...

 

You can create new classes with your own attributes or extend exitsting groups with new attributes. Also you need to define the displayed text whch will appear in the model explore later on.

 

Another tool and link which may be helpfull is a schema editor which gives you an easier entry to create a json file:

 

 

Here is the application.

https://autodesk.box.com/s/eehttmh7i8njqbyg3b09

 

Here is a video that goes over the basics of the JSON file and the editor.

https://autodesk.box.com/s/bcxw0yp2q8ecob6p3rsd

 

 

BUT PLEASE be aware that schcema editing and the editor itself are not supported workflows and official tools. So be carefull with you editing and try it out first with a blank model.

Another INFO: everything you add to your schema cannot be undone or deleted.

 

Hope this helps

 

Andreas

Message 9 of 14

John_DeLeeuw
Advisor
Advisor
That is a nice step forward Andreas, that InfraWorks Schema Editor. I like it and hope you can make that part of the existing UI so we can indeed create our own Classes and Attributes, at least in native language. I experimented some time ago with manually editing the JSON schema and it seemed to work fine but the editing process was very cumbersome. Another important issue that InfraWorks might need to expand to is object classifications like System Engineering (SE) so designers can start to use Design verification and validation early in a project. Here is a link for you to check out some more about SE: http://www.relatics.com/systems-engineering/

John de Leeuw
Senior Consultant

Community Ambassador - Twitter - LinkedIn

0 Likes
Message 10 of 14

Anonymous
Not applicable

Thanks for the application, Andreas!

Can you please tell how to create a subset "BKFN" in standard class "Buildings"?

 

15.jpg

 

When importing data, I want to object with the description "BKFN" fall into a subset of "BKFN". When I import, create and set the class "BKFN" I can not, because there are objects in the file with a different description, which should fall into another subset.
Is it possible?

0 Likes
Message 11 of 14

Anonymous
Not applicable

The idea is that - I want to create a single model structure and used as a template for each project in the organization. Those. man creates a new project, use my schema.json as a template and loaded created structure.

0 Likes
Message 12 of 14

lippola
Alumni
Alumni

Hi there,

have alook into the first link i send in my last post. there you can see how iit is set up. It wont be a subset like you have in your screeshot, rather then a new entry besides buildings (same level) which is then called BKFN. Now you can import your data using the filter in the import dialog to import only the items attributed with "BKFN".

 

Hope this helps

Andreas

0 Likes
Message 13 of 14

Anonymous
Not applicable

So, create the model with user SUBSETS is impossible?
We have solved this problem by writing a program, that, when you create a new project, automatically copies the files, as in the post №2, in the new project folder. it would be nice if Autodesk has made the possibility of using the project template like in Revit and Civil 3D ...

0 Likes
Message 14 of 14

e.fromont
Contributor
Contributor

Hi Andreas, would you be able to reupload the video on how to use the Infraworks data model editor?

0 Likes