Skip to content

How to create assembly in unit testing #15

@Tejal-Alai

Description

@Tejal-Alai

Internal code of TeklaStructures creates assembly automatically when a part is inserted.
myPart.Insert();
myPart.GetAssembly(); // returns the assembly created by internal code

Originally posted by @CarlosHerrero in #13 (comment)

myPart.Insert();
this is not working for me as i have to do unit testing of my function which takes assembly as input and while unit testing i can not insert functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions