Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
BasisSoft BDN

BasisSoft BDN

Likes
  • Profile
  • Activity
  • Communities
  • Friends
  • Mentions
  • Likes
  • Achievements
  • Bookmarks
  • Blog Posts
  • Questions
  • More
  • Cancel
  • RE: (ORD C# - 2021 Release 1) How to get all Surface Template element?

    Henrique Nacamae
    Henrique Nacamae

    if (s.Corridor == null )
    {
        // It is a surface template
    }

    • 5 months ago
    • Civil Programming
    • Civil Programming Forum
  • RE: (ORD C# - 2021 Release 1) How to save TemplateLibrary after added TemplateDefinition?

    Henrique Nacamae
    Henrique Nacamae

    Currently there is not way to save the template library using TemplateLibrary class.

    You can try using .NET XmlDocument class to read, create new elements and save the XML file and use the InRoads.xsd schema file to help you validate your XML file.

    I hope…

    • 5 months ago
    • Civil Programming
    • Civil Programming Forum
  • RE: How to set start station of OpenRoads alignment in c#?

    Henrique Nacamae
    Henrique Nacamae

    Hi,

    You need to use the edit SDK classes.

    // You can see an example at ComplexAlignmentCreator.cs file on ManagedSDKExample
    // Search for AddStationing
    
    // I assume you already heve your alinment
    Alignment al = alignment you want to edit
    
    // Use…

    • 6 months ago
    • Civil Programming
    • Civil Programming Forum
Communities
  • Home
  • Getting Started
  • Community Central
  • Products
  • Support
  • Secure File Upload
  • Feedback
Support and Services
  • Home
  • Product Support
  • Downloads
  • Subscription Services Portal
Training and Learning
  • Home
  • About Bentley Institute
  • My Learning History
  • Reference Books
Social Media
  •    LinkedIn
  •    Facebook
  •    Twitter
  •    YouTube
  •    RSS Feed
  •    Email

© 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies