Component ID in harness

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hello,

I'm working on harness module in solid edge.

When I generate harness report for components  I can see the Component ID.
How Can I get this ID using programming?

Now I generating the report and scan the report for this information.Is there another solution?

document2.GenerateWireHarnessReport(SolidEdgeAssembly.AssemblyWireHarnessReportTypeConstants.seAssemblyWireHarnessReportConnections, @"C:\Temp\connections.xls", SolidEdgeConstants.AssemblyWireHarnessReportOnConstants.seAssemblyWireHarnessReportOnAll, 0, 0, SolidEdgeConstants.AssemblyWireHarnessConnectionPropertiesConstants.seWireHarnessConnectionPropertyPartNumber, 0, SolidEdgeConstants.AssemblyWireHarnessConnectionPropertiesConstants.seWireHarnessConnectionPropertyCutLength, SolidEdgeConstants.AssemblyWireHarnessSortOrderConstants.seWireHarnessReportAscending, SolidEdgeConstants.AssemblyWireHarnessJustificationConstants.seWireHarnessReportCenter, Type.Missing);
document2.GenerateWireHarnessReport(SolidEdgeAssembly.AssemblyWireHarnessReportTypeConstants.seAssemblyWireHarnessReportComponents, @"C:\Temp\componement.xls", SolidEdgeConstants.AssemblyWireHarnessReportOnConstants.seAssemblyWireHarnessReportOnAll, 0, 0, SolidEdgeConstants.AssemblyWireHarnessComponentPropertiesConstants.seWireHarnessComponentPropertyUniqueId, SolidEdgeConstants.AssemblyWireHarnessComponentPropertiesConstants.seWireHarnessComponentPropertyComponentDescription, SolidEdgeConstants.AssemblyWireHarnessComponentPropertiesConstants.seWireHarnessComponentPropertyComponentName, SolidEdgeConstants.AssemblyWireHarnessSortOrderConstants.seWireHarnessReportAscending, SolidEdgeConstants.AssemblyWireHarnessJustificationConstants.seWireHarnessReportCenter, Type.Missing);

Best regrads.
Amani

 

1 REPLY

Re: Component ID in harness

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Capture.PNG