Data Source Template

Data Source Template

sduffin
Advocate Advocate
3,110 Views
3 Replies
Message 1 of 4

Data Source Template

sduffin
Advocate
Advocate

Is there a way to copy all of your data sources from an existing IW model to a new Model Builder model or a new blank model so as to avoid having to go through the process of adding the data sources individually and styling them?  We use the same handful of data sources on every project and it would be nice to simply import all the standard data sources at once if possible.  See the attached image for an example of our typical data sources.

 

Also, is there a way to customize IW so that it starts with the same Styles for all projects?  In other words, we have created custom styles for floodplains, parcels, soils types, etc.  It would be nice if when I create a new model that it just pulls up our standard styles without having to import them through the style catalog.

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

elliott.rosenfeld
Autodesk
Autodesk
Accepted solution

Interesting, these are good use cases to know about!

 

1) Is there a way to copy all of your data sources from an existing IW model to a new Model Builder model or a new blank model so as to avoid having to go through the process of adding the data sources individually and styling them?  

Unfortunately we do not have a way to do this at this time. I'm curious though, if we were to add an option to select data sources in the "Create New Model" dialog that appears when you click "New" on InfraWorks Home, would that address your use case? (I cannot guarantee that this will happen, since I do not develop features for InfraWorks, but I could pass this suggestion to the team. If this is your rough idea, I would suggest adding it to the InfraWorks Idea Station as well.

 

Also, is there a way to customize IW so that it starts with the same Styles for all projects?  In other words, we have created custom styles for floodplains, parcels, soils types, etc.  It would be nice if when I create a new model that it just pulls up our standard styles without having to import them through the style catalog.
I believe that you can add custom styles to the InfraWorks style catalog though a manual process that we don't really support nor recommend, although it is possible. Navigate to C:\ProgramData\Autodesk\InfraWorks\Resources\LocalLibrary\Styles to review the styles and add new ones manually. Be Careful though! Messing around in ProgramData can lead to corruption and other issues, which is why we don't recommend this as a supported workflow.

Here is documentation that shows a bit of this process for the purpose of adding new multi-scale terrain texture styles to your Style Palette. https://knowledge.autodesk.com/support/infraworks/learn-explore/caas/CloudHelp/cloudhelp/ENU/InfraWo...
Note: to my knowledge, custom styles will not be uploaded to cloud projects unless referenced in local models before being synced with the BIM 360 Document Management project.


Principal Specialist, Infrastructure
Message 3 of 4

Glenn.Coppard
Advocate
Advocate

You should be able to write a script to import and configure your data, following the Autodesk InfraWorks - JavaScript API Documentation.

 

I use scripts extensively to configure my data sets, set up bookmarks, pan/zoom to set co-ords etc... but haven't had the need (yet) to automate the Import also.

Message 4 of 4

sduffin
Advocate
Advocate

Yes -- being able to add data sources in model builder would make it more efficient.  Or even better -- having a favorites data source that one could save and then implement during model builder creation would save time and would be a great benefit.   So I would envision the ability to favorite your most-common data sources along with the accompanying configurations, and then you can just pick it during model builder and everything comes in already attached and configured.  Please do pass this on to the development team.


I am not much of a script writer and I don't have too much time to think about writing scripts so that is why I favor the proposed solution above.