get_model_main_parameters#
- dlubal.api.rsection.Application.get_model_main_parameters(self, *, optional_model_id=)#
- Retrieves the main parameters of a model, including its ID, name, description, comments, file path, and associated project details. - Parameters:
- optional_model_id (OptionalModelId) 
- Returns:
 
Method Type: Core
Usage
params = rsection_app.get_model_main_parameters()
print(params)
var params = await rsection_app.get_model_main_parameters();
Console.WriteLine(params);
Output:
model_id: "e26df371-250b-48b4-8a2e-e548d1cadb4c"
model_name: "cantilever"
model_path: "D:/python/examples/rsection/cantilever.rf6"