Skip to main content
14-Alexandrite
Mar 31, 2022 8:24 AM UTC
Solved

Naming Drawing Table

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!

14-Alexandrite
Mar 31, 2022 4:13 PM UTC

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. 

12 replies

14-Alexandrite
Mar 31, 2022 8:30 AM UTC

Have you already tried ProModelitemNameSet?

Translate
14-Alexandrite
Mar 31, 2022 8:47 AM UTC

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

Translate
14-Alexandrite
Mar 31, 2022 8:57 AM UTC

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.

Translate