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
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.
Dan WilliamsSolution ConsultantBentley Systems, IncorporatedPortland, OR, USA (Pacific Time UTC-08:00)
Answer Verified By: Kevin