Interface IApplicationBIM
- Namespace
- IdeaStatiCa.Plugin
- Assembly
- IdeaStatiCa.Plugin.dll
Abstraction of a FE application which provides data to Idea StatiCa
public interface IApplicationBIM
Methods
GetActiveSelection()
List<BIMItemId> GetActiveSelection()
Returns
GetActiveSelectionModelXML(CountryCode, RequestedItemsType)
string GetActiveSelectionModelXML(CountryCode countryCode, RequestedItemsType requestedType)
Parameters
countryCode
CountryCoderequestedType
RequestedItemsType
Returns
GetActiveSelectionModelXMLAsync(CountryCode, RequestedItemsType)
Task<string> GetActiveSelectionModelXMLAsync(CountryCode countryCode, RequestedItemsType requestedType)
Parameters
countryCode
CountryCoderequestedType
RequestedItemsType
Returns
GetApplicationName()
string GetApplicationName()
Returns
GetModelForSelectionXML(CountryCode, List<BIMItemsGroup>)
Returns a xml string representing a list of BIM models for requested sequence of given items
- groups.
Each group in the list of items
represents designed item such as connection or member and is defined by the id, type and items belonging to the group.
The item can also has id = -1, which means, that items (members or nodes typically) in this group doesn't belong to any design item (connection or member).
string GetModelForSelectionXML(CountryCode countryCode, List<BIMItemsGroup> items)
Parameters
countryCode
CountryCode-
The standard that will match the imported models.
items
List<BIMItemsGroup>-
The sequence of items, for which the BIM model is required.
Returns
- string
-
A xml string representing a list of BIM models for requested
items
.
GetModelForSelectionXMLAsync(CountryCode, List<BIMItemsGroup>)
Task<string> GetModelForSelectionXMLAsync(CountryCode countryCode, List<BIMItemsGroup> items)
Parameters
countryCode
CountryCodeitems
List<BIMItemsGroup>
Returns
IsCAD()
bool IsCAD()
Returns
IsDataUpToDate()
bool IsDataUpToDate()
Returns
SelectAsync(List<BIMItemId>)
Task SelectAsync(List<BIMItemId> items)