public static Object GetAllowedRelations(ISketchRelationManagerObject ISketchRelationManagerinstance, Object Entities)
 {
     return(ISketchRelationManagerinstance.ISketchRelationManagerInstance.GetAllowedRelations(Entities));
 }
 public static Boolean DeleteRelation(ISketchRelationManagerObject ISketchRelationManagerinstance, ISketchRelationObject ThisRelation)
 {
     return(ISketchRelationManagerinstance.ISketchRelationManagerInstance.DeleteRelation(ThisRelation?.ISketchRelationInstance.CastObj <SketchRelation>()));
 }
 //public static ISketchRelationObject IAddRelation(ISketchRelationManagerObject ISketchRelationManagerinstance, Int32 NumEntities, Object& EntityArray, Int32 RelationType)
 //{
 //    return new ISketchRelationObject(ISketchRelationManagerinstance.ISketchRelationManagerInstance.IAddRelation(NumEntities, EntityArray, RelationType));
 //}
 public static Boolean DeleteAllRelations(ISketchRelationManagerObject ISketchRelationManagerinstance)
 {
     return(ISketchRelationManagerinstance.ISketchRelationManagerInstance.DeleteAllRelations());
 }
 public static ISketchRelationObject AddRelation(ISketchRelationManagerObject ISketchRelationManagerinstance, Object Entities, Int32 RelationType)
 {
     return(new ISketchRelationObject(ISketchRelationManagerinstance.ISketchRelationManagerInstance.AddRelation(Entities, RelationType)));
 }
 public static ISketchRelationObject IGetRelations(ISketchRelationManagerObject ISketchRelationManagerinstance, Int32 Filter, Int32 Count)
 {
     return(new ISketchRelationObject(ISketchRelationManagerinstance.ISketchRelationManagerInstance.IGetRelations(Filter, Count)));
 }
 public static Int32 GetRelationsCount(ISketchRelationManagerObject ISketchRelationManagerinstance, Int32 Filter)
 {
     return(ISketchRelationManagerinstance.ISketchRelationManagerInstance.GetRelationsCount(Filter));
 }