Expand|Select|Wrap|Line Numbers
- File = F:\Files\SWwork\My Assembly.SLDASM"
- " Mates"
- " Coincident1"
- ""
- " Coincident1"
- " Type = 0"
- " AlignFlag = 1"
- " CanBeFlipped = False"
- ""
- " Component = base-1"
- " MateEntType = 3"
- " (x,y,z) = (-5.59639294977956, -1.5868100626617, 0.484842721213511)"
- " (i,j,k) = (0, 0, 1)"
- " Radius 1 = 0"
- " Radius 2 = 0"
- ""
- " Coincident1"
- " Type = 0"
- " AlignFlag = 1"
- " CanBeFlipped = False"
- ""
- " Component = cylinder-1"
- " MateEntType = 3"
- " (x,y,z) = (-2.09639294977956, 0.663189937338302, 0.484842721213511)"
- " (i,j,k) = (-3.49798081433316E-49, 6.16297582203915E-33, -1)"
- " Radius 1 = 0"
- " Radius 2 = 0"
So, i need to read those data like base-1, cylinder-1, etc... and present them in matrics format like....
....... ...............base-1...........cylinder-1 .........
base-1................... 0..................1
cylinder-1................ 1................. 0
where 0 indicates no relation between them and 1 indicates some relation between them.....
can you kindly give me the C++ code for that......
thanks in advance