Hi All,
I am trying to export STL files of individual components from Pro-E assembly using Pro/Toolkit.
I am using the function the ProOutputFileWrite to create STL files
while cycling through all parts in the assembly. This function gives me
the individual STL files but the STL files are exported with respect to
the coordinate system of the individual parts.
I would like to have an STL export with respect to their location in
assembly which will enable me to just import all files in their proper
location.
Otherwise I would like to haveProMatrix that gives me the location of the part with respect to the assembly coordinate system.
For this I am using the function ProAsmcomppathTrfGet. This requires me to pass in the ProAsmcomppath for each component.
Can anybody please help me by giving some example of how to get the
ProAsmcomppath for each part in the assembly. It seems that most of the
examples provided by PTC work only on ProSelection which I do not have.
Alternatively, any method to directly export the solids with respect to
the locations in assembly will be also be greatly appreciated.
Thanks for your help in advance.
Regards,
Abhijit
I am trying to export STL files of individual components from Pro-E assembly using Pro/Toolkit.
I am using the function the ProOutputFileWrite to create STL files
while cycling through all parts in the assembly. This function gives me
the individual STL files but the STL files are exported with respect to
the coordinate system of the individual parts.
I would like to have an STL export with respect to their location in
assembly which will enable me to just import all files in their proper
location.
Otherwise I would like to haveProMatrix that gives me the location of the part with respect to the assembly coordinate system.
For this I am using the function ProAsmcomppathTrfGet. This requires me to pass in the ProAsmcomppath for each component.
Can anybody please help me by giving some example of how to get the
ProAsmcomppath for each part in the assembly. It seems that most of the
examples provided by PTC work only on ProSelection which I do not have.
Alternatively, any method to directly export the solids with respect to
the locations in assembly will be also be greatly appreciated.
Thanks for your help in advance.
Regards,
Abhijit