Hi,
How to programmatically rename Object Data?
How to rename manually in ADEDEFDATA I know.
Solved! Go to Solution.
Hi,
How to programmatically rename Object Data?
How to rename manually in ADEDEFDATA I know.
Solved! Go to Solution.
Solved by АлексЮстасу. Go to Solution.
Hi;
Try out about this algorithm:
1) Get AcMapODTable
2) Get GetTableODRecordIterator for this table
3) Init iterator
4) Get AcMapODTableRecord with iterator
5) Iterate AcMapODTableRecord in loop
5.1) Get AcMapODTableDefinition from table
5.2) Get current AcMapODColumnDefinition with tableDef.GetColumn(colDef, i)
5.3) Check name of current AcMapODColumnDefinition
5.4) If this is your wanted name, rename it with SetName() method.
Hi;
Try out about this algorithm:
1) Get AcMapODTable
2) Get GetTableODRecordIterator for this table
3) Init iterator
4) Get AcMapODTableRecord with iterator
5) Iterate AcMapODTableRecord in loop
5.1) Get AcMapODTableDefinition from table
5.2) Get current AcMapODColumnDefinition with tableDef.GetColumn(colDef, i)
5.3) Check name of current AcMapODColumnDefinition
5.4) If this is your wanted name, rename it with SetName() method.
Thank you!
In ADN, I was also advised to use the AcMapODContainer :: RenameODTable method - to directly rename Object Data.
Thank you!
In ADN, I was also advised to use the AcMapODContainer :: RenameODTable method - to directly rename Object Data.
Can't find what you're looking for? Ask the community or share your knowledge.