Creating the Rcs Rest API Client by IDEA StatiCa project templates
Since the IDEA StatiCa v24 BIM links projects can be created by project dotnet templates. Templates help users to create a IDEA StatiCa BIM link projects. It requires to install IdeaStatiCa.Dotnet.Templates. Open CMD terminal (or Powershell) and run :
dotnet new install IdeaStatiCa.Dotnet.Templates
To create a new BIM Fea plugin do following :
- Open CMD terminal (or Powershell) and create a directory for your project. Make sure template is intalled by running the command
dotnet new list
If templates are correctly this template should be in the list
IDEA StatiCa RCS Rest API client console App rcsclientconsole [C#] ideastatica/rcs/api
- create a new solution in the project directory (in this case MyRcsApiClientApp.sln_) for .NET 8.0
dotnet new rcsclientconsole -n MyRcsApiClientApp -F net8.0
for .NET Framework 4.8
dotnet new rcsclientconsole -n MyRcsApiClientApp -F net48
- Open it in Visual studio or build and run it by dotnet CLI
dotnet restore .\MyRcsApiClientApp.sln
dotnet build .\MyRcsApiClientApp.sln -c Release
.\MyRcsApiClientApp\bin\Release\net8.0\MyRcsApiClientApp.exe
Creating BIM Link in Visual Studio
To create the console client application for IdeaStatiCa.RcsRestApi.dll select the template IDEA StatiCa RCS Rest API client console App. Similar to creating the BIM API FEA link :