Hello Michael. 
Please correct me if I'm wrong :)
 
But...the method you gave us I think is not  suitable to distinguish a "curve" from an "edge" because both are curves.
 
I use a very coarse and manual method to be sure that a curve is "only" a curve. 
I write here in "pseudo-code" :
  code: 
1) SelectedCurves = moiSelectedObjects.getCurves();
2) SelectedEdges = moiSelectedObjects.getEdges();
3) I perform a loop on the set "SelectedEdges"
4) Because every single entity in Moi has the "id" property,
IF the "id" of a "SelectedCurves"'s element is not into the set "SelectedEdges",
THEN that entity is a "simple curve" and not and "edge"
 
Thanks in advance.
 
Ciao.
 
Marco (mkdm)  
 |