Point

Type Options
Definition Options
Properties
Functions

Note:  Only a single Type and Definition are supported in script. This allows creation of a Point feature from a Coordinate File. The format of the coordinate file is described in the standard documentation for this feature. The required sequence is to define the feature, set its coordinate file, and then do a Regen(). Naming it is optional.


Example
  var PF1 = agb.FPoint(agc.FPointConstruction, agc.FPointCoordinateFile);
	PF1.Name = "BoxPoints";  //This is not required
	PF1.CoordinateFile = "D:\\Samples\\Box.txt";
	PF1.BasePlane = agb.GetZXPlane();
	agb.Regen();
	//Here is how to get the coordinates of one of the points
	var pt1 = GetPoint(1,1);
	var x = agb.GetPointX(pt1);
	var y = agb.GetPointY(pt1);
	var z = agb.GetPointZ(pt1);

Release 18.2 - © ANSYS, Inc. All rights reserved.