Quantcast
Channel: OpenPlant | AutoPLANT Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4153

[OPM CE C#] How to place optional components?

$
0
0

Hello All,

I can place components as below:

                PipeFlangeComponentData flange1Data = new PipeFlangeComponentData(PipeFlangeType.WELD_NECK_FLANGE, specification, nominalDiameter);
                PipeFlangeComponent flange1 = new PipeFlangeComponent(new DPoint3d(1088.9, 0, 0), flange1Data, Math.PI, DrawingView.ViewTop, true);
                flange1.Create();

But it seems it can place the first flange only. If there are multiple flange with same EC_CLASS_NAME and size, how to place the other flanges?

Thanks.


Viewing all articles
Browse latest Browse all 4153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>