XYZ center= ((elem.Location as LocationCurve).Curve as Arc).Center;//当模型线的Value是Arc的时候,利用 as 来转换成所需要的Value值