Topobase

Reply
Member
virtualcube
Posts: 3
Registered: ‎12-31-2007
Message 1 of 3 (1,377 Views)

Does Autodesk have best practice for creating new Topobase Document for TB 2011?

1377 Views, 2 Replies
05-10-2011 04:04 PM

Hi Autodesk and Topobase Users,

 

With Topobase 2011, a tool called Structure Editor was introduced for creating, updating and deploying a data model. 

 

Is this the RECOMMENDED best practice for creating a new data model/document going forward?  Or should one still use the DocumentStructureUpdatePlugIn through actual C#/VB coding and compilation to DLL and running in TB Admin for creating the data structure for a new document?  We have a need to create a new Topobase document, and we are wondering what AUTODESK would recommend as the best practice. 

 

For the modules that are included with Topobase (i.e. Gas, Electric, Water and Waste Water), were DLLs for creating these documents/structures using the .GENX file (as resource file included in the compilation of the DLL) from the Structure Editor?

 

Would appreicate any recommendation or suggestion other users may have on this topic.

 

Thanks,

 

Ken

New Member
martyn.messerli
Posts: 1
Registered: ‎05-10-2011
Message 2 of 3 (1,370 Views)

Re: Does Autodesk have best practice for creating new Topobase Document for TB 2

05-10-2011 11:33 PM in reply to: virtualcube

Hi Ken,

 

We have moved all our structure updates from the code based structure update to the xml based structure update where ever possible. Not all updates can be handled by the xml file, for those use cases we still have the code based updates running as a pre- or postupdated.

 

The benefit of the xml based update is that you have a better overview of the history of changes through the versions and also a visual representation of the structure. The genx can be embedded in an assembly or shiped as a separate .genx file. To finally create the structure from the .genx, we use the same code like for the code based updates. There are some improvements to aviod unnecessary changes to the structure, like adding a table and deleting it again in a second version. Therefore you can have only benefits when you use the xml based approach.

 

I hope this answer helps.

 

Regards

Martyn

Member
virtualcube
Posts: 3
Registered: ‎12-31-2007
Message 3 of 3 (1,359 Views)

Re: Does Autodesk have best practice for creating new Topobase Document for TB 2

05-11-2011 11:11 AM in reply to: martyn.messerli

Thanks for your quick reply Martyn.

 

We have been using code based structure updates in the past for TB 2009.  From your reply and info we garnered from Autodesk, it looks like there's more flexibility with the XML/genx approach.  We also had feature rule related client code that was implemented in the same module for TB 2009.  With TB 2011, I guess we'll separate the Client feature rule code from the genx data model/structure update as there doesn't seem to be a way of attaching the Clieint side feature rule meta data with the genx file.

 

BTW, do you know if Autodesk has sample code or other internal documents related to using the genx/resource file?  I couldn't find any sample like that from the list of sample projects that are shipped with TB 2001. It should be easy to do... and a nice code sample to reference to.

 

Ken

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.