Skip to main content
May 19, 2025 10:53 PM UTC
Acknowledged

Provide Toolkit API's to Get and Set dwg table names, and get the table object from model tree name.

Related products:Creo Parametric

1. Describe the Problem

The problem is that there is no method with Toolkit API's to set a table display name in the model tree, or test if a specific table name exists, and get a handle to that table by model tree name if it does exist.

 


2. Are you using a workaround?
Yes. One workaround I will consider is to record the ID number of the ProDwgtable object (pro_model_item) created by ProDrawingTableCreate(). To check if that table exists from a previous use of the Toolkit, I will look through the array of tables returned by ProDrawingTablesCollect() for that saved ID number.

3. What is the use case for your organization?
I am using Toolkit to create a new drawing table in a drawing. This new table has specific data. If the user re-runs the toolkit, I want to delete the old table that was previously created by the toolkit, if it exists, and recreate it with updated data.

4. What impact does this problem currently have on your organization?
This affects the organization by requiring the business to use a more complex code algorithm and more code to maintain.

1 reply

Community Manager
May 20, 2025 10:46 AM UTC
Status changed to: Acknowledged

Thank you @caskyline10 for your idea. Based on the information you provided, we are acknowledging it as the Community management team. This is not a commitment from the Product team. Other users may comment and vote your idea up.