Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to rename the sheet layout name using the API. I wanto to rename the layout name (see image)
I have the following code, but it's not working.
// Locking DB here
string layoutName = "My new Layout Name";
AcSmSheet sheet = (AcSmSheet)_sheetId.GetPersistObject();
sheet.GetLayout().SetName(layoutName);
// Unlocking DB here
I'm using the correct method to set the new name? The code runs without any errors but the name is not changed.
Solved! Go to Solution.