cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to display ProMdl using toolkit

CHASEONHO
Opal

How to display ProMdl using toolkit

Hi,

 

Through development, we are trying to apply inventor's bom tool to Creo.

1.png

ProMdl's graphic information must be ready to display.


If you don't have ProMdl's graphics information, you should use ProRasterFileWrite to prepare your graphics information. (Is there any other way?)
ProRasterFileWrite has a lot of margin in image conversion, and it takes a lot of conversion time for each ProMdl. (I think it is fatal to the large assembly structure)

 

 

We need advice from those who have troubled or solved the PTC Community with the same problem as me.

Please give me some clues on some good ways and ideas to display ProMdl's graphic elements in the Toolkit UI.

 

Thanks,

 

Warm Regards,

SeonHo Cha.

Tags (3)
2 REPLIES 2

Re: How to display ProMdl using toolkit

Hi SeonHo

 

I don't think that there is an easier / faster way with toolkit. Because you need to open the model and define the view / orienation and size and do the image and that needs time.

 

But I think there should be something inside the Granite Kernel that you can use (have never used it until now). Or you can use a REST API Service to windchill and request the current windchill image (>= Windchill 11.0 CPS 05). (In this case Windchill is mandatory on customer site for obvious reasons)

 

Br,

Eike

Re: How to display ProMdl using toolkit

Theoretically...  I don't think ToolKIt would even be required for this.

 

It seems you could use some config.pro options to generate these images automatically.

https://community.ptc.com/t5/Assembly-Design/how-can-I-quot-save-as-jpg-quot-all-the-components-of-m...

 

https://www.ptc.com/en/support/article/CS51630?&source=snippet

 

Since you are using Excel... I would think that a simple Excel Macro (+ a tiny-bit of VB) could be used to find the corresponding image in the working directory and then import them into your Excel Workbook next to the part number you wanted.

 

I have never considered this for Nitro-BOM....  But may now based on your example.  The problem is, most of our customers are dealing with very large assemblies -- so this would dramatically increase the size of the Worksheet....  Unless ... hmmm  got me thinking now..

 

Dave

 

 

Announcements