Ejemplo n.º 1
0
        Stream(ArrayList data, RebarShapeConstraint constraint)
        {
            data.Add(new Snoop.Data.ClassSeparator(typeof(RebarShapeConstraint)));
            data.Add(new Snoop.Data.ElementId("Parameter ID ", constraint.GetParamId(), m_activeDoc));


            RebarShapeConstraintSegmentLength rsc00 = constraint as RebarShapeConstraintSegmentLength;

            if (rsc00 != null)
            {
                Stream(data, rsc00);
                return;
            }

            RebarShapeConstraintFixedSegmentDir rsc01 = constraint as RebarShapeConstraintFixedSegmentDir;

            if (rsc01 != null)
            {
                Stream(data, rsc01);
                return;
            }

            RebarShapeConstraintProjectedSegmentLength rsc02 = constraint as RebarShapeConstraintProjectedSegmentLength;

            if (rsc02 != null)
            {
                Stream(data, rsc02);
                return;
            }

            RebarShapeConstraintCircumference rsc03 = constraint as RebarShapeConstraintCircumference;

            if (rsc03 != null)
            {
                Stream(data, rsc03);
                return;
            }

            RebarShapeConstraintRadius rsc04 = constraint as RebarShapeConstraintRadius;

            if (rsc04 != null)
            {
                Stream(data, rsc04);
                return;
            }

            RebarShapeConstraintArcLength rsc05 = constraint as RebarShapeConstraintArcLength;

            if (rsc05 != null)
            {
                Stream(data, rsc05);
                return;
            }

            RebarShapeConstraint180DegreeBendRadius rsc06 = constraint as RebarShapeConstraint180DegreeBendRadius;

            if (rsc06 != null)
            {
                Stream(data, rsc06);
                return;
            }
        }
Ejemplo n.º 2
0
 Stream(ArrayList data, RebarShapeConstraintArcLength constraint)
 {
     data.Add(new Snoop.Data.ClassSeparator(typeof(RebarShapeConstraintArcLength)));
 }
Ejemplo n.º 3
0
 private void Stream(ArrayList data, RebarShapeConstraintArcLength constraint)
 {
     data.Add(new Snoop.Data.ClassSeparator(typeof(RebarShapeConstraintArcLength)));
 }