Skip to main content
14-Alexandrite
March 31, 2022
Solved

Naming Drawing Table

  • March 31, 2022
  • 1 reply
  • 4799 views

Hey guys,

 

I have created a table with ProDrawingTableCreate command, and I wonder if there is a way to rename it.

Do you know a command that does it?

 

Thank you very much!

Best answer by FabianWolf

If there's an application that creates the drawing tables it might be useful to let it additionally store the ProModelitem id's of the created tables inside drawing parameters or external data slots. Use these id's later for ProModelitemInit to get the table handles.

But this is no option for legacy drawings of course. 

1 reply

14-Alexandrite
March 31, 2022

Have you already tried ProModelitemNameSet?

14-Alexandrite
March 31, 2022

Well, I just tested it and the table name has not changed.

14-Alexandrite
March 31, 2022

Does the function return PRO_TK_NO_ERROR or any other ProError?

Maybe try to update the drawing tree via ProDrawingtreeRefresh for the case that renaming works but the change is not displayed.