How to open file through code

Hii…I need help regarding How to open STP file through code

Hi @Bhavita_Patil,

An easy way is to just script Rhino’s Open command.

For example:

SampleCsOpen3dm.cs

– Dale