idea-statica / iom-examples

Examples of using IDEA StatiCa IOM API
MIT License
8 stars 4 forks source link

Multiple Connections from IOM in one project #43

Closed NathanlGG closed 4 years ago

NathanlGG commented 4 years ago

Hi, I am wanting to generate multiple connections in one IdeaStatica project. I have defined two connections in the below OpenModel attached. It generates the IDEAStatica Connection File no problems although only the first set of connection data is available.

Is there something I am missing to enable multiple connections or is there something additional I need to set?

Any help appreciated.

`

1 CON 1 Point3D 2 3 Member1D 3 true 3 0 1 Member1D 1 false 1 0 2 connectionFromIOM-local.ideaCon
<ConnectionPoint>
  <Id>2</Id>
  <Name>CON 2</Name>
  <Node>
    <TypeName>Point3D</TypeName>
    <Id>8</Id>
  </Node>
  <ConnectedMembers>
    <ConnectedMember>
      <Id>4</Id>
      <MemberId>
        <TypeName>Member1D</TypeName>
        <Id>4</Id>
      </MemberId>
      <IsContinuous>false</IsContinuous>
      <OriginalModelId>4</OriginalModelId>
      <Length>0</Length>
    </ConnectedMember>
    <ConnectedMember>
      <Id>6</Id>
      <MemberId>
        <TypeName>Member1D</TypeName>
        <Id>6</Id>
      </MemberId>
      <IsContinuous>true</IsContinuous>
      <OriginalModelId>6</OriginalModelId>
      <Length>0</Length>
    </ConnectedMember>
  </ConnectedMembers>
  <NodeId>8</NodeId>
  <ProjectFileName>connectionFromIOM-local.ideaCon</ProjectFileName>
</ConnectionPoint>

3 M3 3 false false false false true false 1 M1 1 false false false false false false 4 M4 4 false false false false true false 6 M6 6 false false false false false false `
mpospisil commented 4 years ago

Hi Nathan

I suppose it should be possible but in our new CCM we support only one connection in idea connection project. If you want your application to be compatible with CCM and Idea Member which allows to do buckling check of all member do not use more connections in the project.

Look at : https://github.com/idea-statica/ccm-examples

if you still prefere to have more connections attach your IOM file

NathanlGG commented 4 years ago

Thanks Martin.

I think it would be great to be able to set-up multiple connections in one file. I have provided the IOM.

exampleIOMMultipleConnections.zip

jorgebslu commented 4 years ago

I think it would be great to be able to set-up multiple connections in one file. I have provided the IOM.

:+1: That is something that we also need.

mpospisil commented 4 years ago

Hi, our recommended way is CCM. Let's focus on this way, I know it is not perfect but I prefere to improve this way. We provide automatic features for updating geometry as well as loading.

I know the users interaction is needed but if you send us your use case we can add it to our development backlog.