Inserting a .scdoc in another scdoc in C#

Ansys Staff
Ansys Staff Member, Employee Posts: 24
Ansys Employee Name Dropper First Comment Photogenic
edited June 2023 in 3D Design

How can I insert another .scdoc in my active scdoc similar to the insert file option under the assembly tab in Space Claim in C#


  • Valérie Gelbgras
    Valérie Gelbgras Member, Employee Posts: 157
    Name Dropper First Comment Photogenic First Anniversary
    Answer ✓

    You can add a reference:

    using ScdmScripting = SpaceClaim.Api.V17.Scripting;

    Then you can use

    string path = "C:\test\test.scdoc";