How to get all connections which are not in location box?
for example:

ArrayList ConnArrList = new ArrayList;
SelectionSet set = new SelectionSet();
Eplan.EplApi.DataModel.Project currentProject = set.GetCurrentProject(false);
Eplan.EplApi.DataModel.Page[] selectedPages = set.GetSelectedPages();
foreach (Eplan.EplApi.DataModel.Page page in oSelectionSet.GetSelectedPages())
{
  DMObjectsFinder dmf = new DMObjectsFinder(oProject);
   ConnectionsFilter oConnF = new ConnectionsFilter();
    oConnF.Page = page;
Connection[] arrConn
= dmf.GetConnections(oConnF);    foreach (var conn in arrConn)    {     if(conn.Properties.CONNECTION_FULLLOCATION_AUTOMATIC!=conn.page.Properties.DESTINATION_LOCATION)     {       ConnArrList.Add(conn); } } }

 

相关文章:

  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案