private VIZCore3D.NET.VIZCore3DControl vizcore3d;
public void Example()
{
string path = "C:\\Robot\\E41.atx";
if (vizcore3d.ATX.Models.Count != 0)
vizcore3d.ATX.Models.Clear();
VIZCore3D.NET.Extension.RobotInterface.ATXModel atx
= vizcore3d.ATX.Open(path);
for (int i = 0; i < atx.Panels.Count; i++)
{
VIZCore3D.NET.Extension.RobotInterface.PanelObject panel
= atx.Panels[i];
VIZCore3D.NET.Extension.RobotInterface.GroupCodes groupType
= panel.Type;
string name = panel.Name;
string date = panel.Date;
int layer = panel.Layer;
int manufacturingDataCount = panel.ManufacturingDatas.Count;
for (int j = 0; j < manufacturingDataCount; j++)
{
VIZCore3D.NET.Extension.RobotInterface.ManufacturingData data
= panel.ManufacturingDatas[j];
VIZCore3D.NET.Extension.RobotInterface.GroupCodes type
= data.Type;
string tribonName = data.TribonName;
string nameRecord = data.NameRecord;
string assemblyName = data.AssemblyName;
string assemblyLevel1 = data.AssemblyLevel1;
string assemblyLevel2 = data.AssemblyLevel2;
string assemblyLevel3 = data.AssemblyLevel3;
string assemblyLevel4 = data.AssemblyLevel4;
int sequenceNo = data.SequenceNo;
int postionNo = data.PositionNo;
int steelQuality = data.SteelQuality;
int stiffenerRep = data.StiffenerRep;
List<int> subSequence = data.SubSequence;
string profileTypeAndParam = data.ProfileTypeAndParameter;
string surfaceTreatment = data.SurfaceTreatment;
string destination = data.Destination;
string holeType = data.HoleType;
string macroId = data.MacroId;
VIZCore3D.NET.Data.Vertex3D startPoint = data.StartPoint;
List<VIZCore3D.NET.Extension.RobotInterface.SegmentPoint> segment
= data.Segment;
VIZCore3D.NET.Data.Vertex3D vectorU = data.VectorU;
VIZCore3D.NET.Data.Vertex3D vectorW = data.VectorW;
VIZCore3D.NET.Data.Vertex3D thickness = data.Thinckness;
}
}
}