How to generate the shade via Open Studio SDK? [closed]
I use following code trying to generate the shade
Point3dVector points = new Point3dVector();
points.Add(new Point3d(0,1,0));
points.Add(new Point3d(1,1,0));
points.Add(new Point3d(1,0,0));
points.Add(new Point3d(0,0,0));
ShadingSurface shadingSurface = new ShadingSurface(points, model);
but no vertexes set from the generated idf
Shading:Building:Detailed,
RightFin-{e996d645-5c20-47cf-8df8-faa8b9745cba}, !- Name
, !- Transmittance Schedule Name
;
Anything else needs to be set to successfully generate the shade?
@zhengangzhu please retag with the software, computer language, and existing tags. Thanks!