Skip to Main Content
Need Support? Let’s guide you to the right answer or agent.
Status Needs review
Workspace STAAD.Pro
Created by Guest
Created on Jan 22, 2025

OpenSTAAD Function to Retrieve the Id (Not GUID) of a Parametric Surface

As most of the functions exposed in OpenSTAAD uses the surfaceId to target a specific parametric surface, a function to retrieve the Id of the parametric surface by specifying it's name will be essential. I tried using the existing function GetParametricSurfaceUniqueID() with a known surface name but unfortunately the result I am getting by calling the function is 'false' instead of a unique GUID despite the fact that a parametric surface with the specified name already exists in the model. Further, I am not sure even if the GUID is retrieved, can the same id be used for further interactions with surfaces!