Is there a way you can delete an entire global table using a custom code block?
Is there a way you can delete an entire global table using a custom code block?
Have you tried using the destroy command to delete the node?
model().find("Tools/GlobalTables/GlobalTable1").destroy();
@Raja Sekaran @Jörg Vogel Yes this worked, thank you very much!
May I ask more by use this topic
If I just want to clear data in Globaltable to blank but still need to keep that table with no. of column and row
What code can I use for this
Thank you very much
For the most part Table("tableName").clear() will be sufficient for this.
If the cells contain simple data type (arrays) or bundle data, some more code is necessary. You can just look at the code the "Clear All Cell Data" option in the global table reset trigger uses.
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved