Package com.solibri.smc.api.model
Interface Models
public interface Models
The service for opening models and accessing them.
- Since:
- 9.10.3
- 
Method SummaryModifier and TypeMethodDescriptionReturns the model model with the given UUID.Returns the information of the all models that are currently open.openIFCModel(String name, InputStream inputStream) Opens an IFC model.partialUpdateIFCModel(UUID modelUUID, InputStream inputStream) Partially updates the IFC model specified by the UUID.updateIFCModel(UUID modelUUID, InputStream inputStream) Completely updates the IFC model specified by the UUID.
- 
Method Details- 
openIFCModelOpens an IFC model.- Parameters:
- name- the name of the model
- inputStream- the IFC model input stream
- Returns:
- the model information
- Throws:
- ModelOpeningException- the exception if the model opening fails
- Since:
- 9.10.3
 
- 
updateIFCModelMModel updateIFCModel(UUID modelUUID, InputStream inputStream) throws ModelOpeningException, ModelNotFoundException Completely updates the IFC model specified by the UUID.- Parameters:
- modelUUID- the model UUID
- inputStream- the IFC model input stream
- Returns:
- the model information
- Throws:
- ModelOpeningException- the exception if the model opening fails
- ModelNotFoundException- the exception if there is no model which UUID matches the parameter
- Since:
- 9.10.3
 
- 
partialUpdateIFCModelMModel partialUpdateIFCModel(UUID modelUUID, InputStream inputStream) throws ModelOpeningException, ModelNotFoundException Partially updates the IFC model specified by the UUID. Components that are not new IFC are not deleted.- Parameters:
- modelUUID- the model UUID
- inputStream- the IFC model input stream
- Returns:
- the model information
- Throws:
- ModelOpeningException- the exception if the model opening fails
- ModelNotFoundException- the exception if there is no model which UUID matches the parameter
- Since:
- 9.10.3
 
- 
getModelsReturns the information of the all models that are currently open.- Returns:
- the information of the all models
 
- 
getModelReturns the model model with the given UUID.- Parameters:
- modelUUID- the model UUID
- Returns:
- the model information
- Throws:
- ModelNotFoundException- the exception if there is no model which UUID matches the parameter
- Since:
- 9.10.3
 
 
-