Can any one help to create Cross section by Jlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can any one help to create Cross section by Jlink
Hi all,
Can any one help us to create cross section in model by Jlink ? I have listed the cross section which are in models.
I am aslo trying to create curve use x section feature in model.
Please help
----------------------------------------------------------------------------------------------------------------------------------------------------
Model mdl;
XSections xsecs;
ModelItems mdlItms;
JOptionPane.showMessageDialog(
null, "started");
mdl = curSession.GetCurrentModel();
Curves curvs;
Curve curv;
mdl.ListItems(ModelItemType.
ITEM_CURVE);
Views views = mdl.ListViews();
Solid solid;
solid = (Solid) mdl;
xsecs = solid.ListCrossSections();
XSection xVF;
for (int i=0; i<xsecs.getarraysize(); i++)
{
xVF = xsecs.get(i);
if(xVF.GetName()=="VF")
{
break;
