Revit.SDK.Samples.ObjectViewer.CS.GeometryData.AddProfile C# (CSharp) Метод

AddProfile() приватный Метод

generate data of a Profile
private AddProfile ( GeometryObject obj, Transform transform ) : void
obj GeometryObject
transform Transform
Результат void
        private void AddProfile(GeometryObject obj, Transform transform)
        {
            Profile profile = obj as Profile;
            if (null == profile)
            {
                return;
            }

            foreach (Curve curve in profile.Curves)
            {
                AddCurve(curve, transform);
            }
        }