C# change project environment

C#

Looks like I need to use AAPI_MODIFYPROJECT2 to apply changes to a Project , how do I get the Project object with C#?

I can select using AAAPI_SELECTPROJECT(id) ; but I don't know to 'access' the selected Project object  .

Thanks for your patience

Kevin.

Parents
  • There are no "objects" in the PW SDK in the same sense as you would have in C#.  aaApi_SelectProject() fills the static buffer AADMSBUFFER_PROJECT (as the SDK documentations states).

    You can access that buffer with functions like aaApi_GetProjectNumericProperty() or aaApi_GetProjectStringProperty(), but because working with folders, etc. is so common, you will find many purpose specific functions such as aaApi_GetProjectIdByNamePath(), etc.

    Answer Verified By: Kevin 

Reply
  • There are no "objects" in the PW SDK in the same sense as you would have in C#.  aaApi_SelectProject() fills the static buffer AADMSBUFFER_PROJECT (as the SDK documentations states).

    You can access that buffer with functions like aaApi_GetProjectNumericProperty() or aaApi_GetProjectStringProperty(), but because working with folders, etc. is so common, you will find many purpose specific functions such as aaApi_GetProjectIdByNamePath(), etc.

    Answer Verified By: Kevin 

Children
No Data