public void ExtrudePointToFrameRadial(string name, string sectionPropertyName, eAxisExtrusion rotateAxis, Coordinate3DCartesian radialExtrusionCenter, double incrementAngle, double totalRise, int numberOfFrames, ref string[] frameNames) { }
public void ExtrudeFrameToAreaRadial(string name, string sectionPropertyName, eAxisExtrusion rotateAxis, Coordinate3DCartesian radialExtrusionCenter, double incrementAngle, double totalRise, int numberOfAreas, ref string[] areaNames, bool remove = true) { }
public void ExtrudeAreaToSolidRadial(string name, string sectionPropertyName, eAxisExtrusion rotateAxis, Coordinate3DCartesian radialExtrusionCenter, double incrementAngle, double totalRise, int numberOfAngleIncrements, ref int numberOfSolids, ref string[] solidNames, bool remove = true) { }
/// <summary> /// This function creates new frame objects by radially extruding a specified point object into frame objects. /// </summary> /// <param name="name">The name of an existing point object to be extruded.</param> /// <param name="sectionPropertyName">This is Default, None or the name of a defined frame section property to be used for the new extruded frame objects.</param> /// <param name="rotateAxis">The axis that the radial extrusion is around.</param> /// <param name="radialExtrusionCenter">These are the x, y and z coordinates, in the present coordinate system, of the point that the radial extrusion is around. /// For rotation about the X axis, the value of the x coordinate is irrelevant. /// Similarly, for rotation about the Y and Z axes, the y and z coordinates, respectively, are irrelevant. [L]</param> /// <param name="incrementAngle">The angle is rotated by this amount for each added frame object. [deg]</param> /// <param name="totalRise">The total rise over the full length of the extrusion. [L]</param> /// <param name="numberOfFrames">The number of frame objects created when the specified point object is extruded.</param> /// <param name="frameNames">The name of each frame object created when the specified point object is extruded.</param> /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception> /// <exception cref="CSiException"></exception> public void ExtrudePointToFrameRadial(string name, string sectionPropertyName, eAxisExtrusion rotateAxis, Coordinate3DCartesian radialExtrusionCenter, double incrementAngle, double totalRise, int numberOfFrames, ref string[] frameNames) { _callCode = _sapModel.EditGeneral.ExtrudePointToFrameRadial(name, sectionPropertyName, (int)rotateAxis, radialExtrusionCenter.X, radialExtrusionCenter.Y, radialExtrusionCenter.Z, incrementAngle, totalRise, numberOfFrames, ref frameNames); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } }
/// <summary> /// This function creates new area objects by radially extruding a specified straight frame object into area objects. /// </summary> /// <param name="name">The name of an existing frame object to be extruded.</param> /// <param name="sectionPropertyName">This is Default, None or the name of a defined frame section property to be used for the new extruded area objects.</param> /// <param name="rotateAxis">The axis that the radial extrusion is around.</param> /// <param name="radialExtrusionCenter">These are the x, y and z coordinates, in the present coordinate system, of the point that the radial extrusion is around. /// For rotation about the X axis, the value of the x coordinate is irrelevant. /// Similarly, for rotation about the Y and Z axes, the y and z coordinates, respectively, are irrelevant. [L]</param> /// <param name="incrementAngle">The angle is rotated by this amount for each added area object. [deg]</param> /// <param name="totalRise">The total rise over the full length of the extrusion. [L]</param> /// <param name="numberOfAreas">The number of area objects created when the specified point object is extruded.</param> /// <param name="areaNames">The name of each area object created when the specified point object is extruded.</param> /// <param name="remove">True: The area object indicated by the <paramref name="name" /> item is deleted after the extrusion is complete.</param> /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> public void ExtrudeFrameToAreaRadial(string name, string sectionPropertyName, eAxisExtrusion rotateAxis, Coordinate3DCartesian radialExtrusionCenter, double incrementAngle, double totalRise, int numberOfAreas, ref string[] areaNames, bool remove = true) { _callCode = _sapModel.EditGeneral.ExtrudeFrameToAreaRadial(name, sectionPropertyName, (int)rotateAxis, radialExtrusionCenter.X, radialExtrusionCenter.Y, radialExtrusionCenter.Z, incrementAngle, totalRise, numberOfAreas, ref areaNames, remove); if (throwCurrentApiException(_callCode)) { throw new CSiException(API_DEFAULT_ERROR_CODE); } }
/// <summary> /// This function creates new solid objects by radially extruding a specified area object into solid objects. /// </summary> /// <param name="name">The name of an existing area object to be extruded.</param> /// <param name="sectionPropertyName">This is Default, None or the name of a defined solid section property to be used for the new extruded solid objects.</param> /// <param name="rotateAxis">The axis that the radial extrusion is around.</param> /// <param name="radialExtrusionCenter">These are the x, y and z coordinates, in the present coordinate system, of the point that the radial extrusion is around. /// For rotation about the X axis, the value of the x coordinate is irrelevant. /// Similarly, for rotation about the Y and Z axes, the y and z coordinates, respectively, are irrelevant. [L]</param> /// <param name="incrementAngle">The angle is rotated by this amount for each added solid object. [deg]</param> /// <param name="totalRise">The total rise over the full length of the extrusion. [L]</param> /// <param name="numberOfAngleIncrements">The number of angle increments for the extrusion.</param> /// <param name="numberOfSolids">The number of solid objects created when the specified area object is extruded. /// Usually this item is returned the same as the <paramref name="numberOfAngleIncrements" /> item. /// However, in some cases, such as when an area object with more than four sides is extruded, this item will be larger than the <paramref name="numberOfAngleIncrements" /> item.</param> /// <param name="solidNames">The name of each solid object created when the specified point object is extruded.</param> /// <param name="remove">True: The area object indicated by the <paramref name="name" /> item is deleted after the extrusion is complete.</param> /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception> /// <exception cref="CSiException"></exception> public void ExtrudeAreaToSolidRadial(string name, string sectionPropertyName, eAxisExtrusion rotateAxis, Coordinate3DCartesian radialExtrusionCenter, double incrementAngle, double totalRise, int numberOfAngleIncrements, ref int numberOfSolids, ref string[] solidNames, bool remove = true) { _callCode = _sapModel.EditGeneral.ExtrudeAreaToSolidRadial(name, sectionPropertyName, (int)rotateAxis, radialExtrusionCenter.X, radialExtrusionCenter.Y, radialExtrusionCenter.Z, incrementAngle, totalRise, numberOfAngleIncrements, ref numberOfSolids, ref solidNames, remove); if (throwCurrentApiException(_callCode)) { throw new CSiException(); } }