cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 

Change 3d Document Name / ID in Project Map

Can I change the name / id (uName/uiUd) of a 3D Document in the Project Map through the API?

I have tried using ACAPI_Navigator_ChangeNavigatorItem, which returns NoError, but the 3D Document doesn't change in the Project Map


Thanks,
Danny

API_NavigatorItem navItem2Change{};
navItem2Change.mapId = API_ProjectMap;

err = ACAPI_Navigator_GetNavigatorItem(&navItemGuid, &navItem2Change);
 
if (err == NoError) {
 
	navItem2Change.customName = true;
	GS::UCopy(L("PERSPECTIVE"), navItem2Change.uName);
 
	navItem2Change.customUiId = true;
	CHCopyC("D", navItem2Change.uiId);
 
	err = ACAPI_Navigator_ChangeNavigatorItem(&navItem2Change);
 
}

 

DannySparksCousins_0-1788934131286.png

 

Operating system used: Windows

0 Replies 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!