eof.java4autocad
Class AcadModelSpace

java.lang.Object
  extended byeof.java4autocad.AcadObject
      extended byeof.java4autocad.AcadModelSpace
Direct Known Subclasses:
AcadBlock, AcadPaperSpace

public class AcadModelSpace
extends AcadObject

Author:
Jonathon

Method Summary
 Acad3DFace Add3DFace(Point p1, Point p2, Point p3)
           
 Acad3DFace Add3DFace(Point p1, Point p2, Point p3, Point p4)
           
 Acad3DPolyline Add3DPoly(Point[] points)
           
 AcadAttribute AddAttribute(double height, int mode, java.lang.String prompt, Point insertionPoint, java.lang.String tag, java.lang.String value)
           
 Acad3DSolid AddBox(Point origin, double length, double width, double height)
           
 AcadCircle AddCircle(Point center, double radius)
           
 Acad3DSolid AddCone(Point center, double baseRadius, double height)
           
 AcadObject AddCustomObject(java.lang.String className)
           
 Acad3DSolid AddCylinder(Point center, double radius, double height)
           
 AcadDim3PointAngular AddDim3PointAngular(Point angleVertex, Point firstEndPoint, Point secondEndPoint, Point textPoint)
           
 AcadDimAligned AddDimAligned(Point extLine1Point, Point extLine2Point, Point textPosition)
           
 AcadDimAngular AddDimAngular(Point angleVertex, Point firstEndPoint, Point secondEndPoint, Point textPoint)
           
 AcadDimDiametric AddDimDiametric(Point chordPoint, Point farChordPoint, double leaderLength)
           
 AcadDimOrdinate AddDimOrdinate(Point definitionPoint, Point leaderEndPoint, boolean useXAxis)
           
 AcadDimRadial AddDimRadial(Point center, Point chordPoint, double leaderLength)
           
 AcadDimRotated AddDimRotated(Point xLine1Point, Point xLine2Point, Point dimLineLocation, double rotationAngle)
           
 AcadEllipse AddEllipse(Point center, double majorAxis, double radiusRatio)
          I can't get this one to work.
 Acad3DSolid AddEllipticalCone(Point center, double majorAxis, double minorAxis, double height)
           
 Acad3DSolid AddEllipticalCylinder(Point center, double majorAxis, double minorAxis, double height)
           
 Acad3DSolid AddExtrudedSolid(AcadRegion r, double length, double taper)
           
 Acad3DSolid AddExtrudedSolidAlongPath(AcadRegion profile, AcadEntity path)
           
 AcadHatch AddHatch(int patternType, java.lang.String patternName, boolean associativity)
           
 AcadLeader AddLeader(Point[] pointsArray, java.lang.String annotation, int type)
           
 AcadLWPolyline AddLightweightPolyline(Point2D[] vertices)
           
 AcadLine AddLine(Point startPoint, Point endPoint)
           
 AcadMLine AddMLine(Point[] vertexList)
           
 AcadMText AddMText(Point insertionPoint, double width, java.lang.String text)
           
 AcadPoint AddPoint(Point point)
           
 AcadPolyfaceMesh AddPolyfaceMesh(Point[] verticesList, int[] faceList)
           
 AcadPolyline AddPolyline(Point[] verticesList)
           
 AcadRaster AddRaster(java.lang.String imageFileName, Point insertionPoint, double scaleFactor, double rotationAngle)
           
 AcadRay AddRay(Point point1, Point point2)
           
 AcadRegion AddRegion(AcadObject[] objectList)
          This function is supposed to make a region from a set of objects.
 Acad3DSolid AddRevolvedSolid(AcadRegion profile, Point axisPoint, Point axisDir, double angle)
           
 AcadShape AddShape(java.lang.String name, Point insertionPoint, double scaleFactor, double rotation)
           
 AcadSolid AddSolid(Point point1, Point point2, Point point3, Point point4)
           
 Acad3DSolid AddSphere(Point center, double radius)
           
 AcadSpline AddSpline(Point[] pointsArray, Point startTangent, Point endTangent)
           
 AcadText AddText(java.lang.String textString, Point insertionPoint, double height)
           
 AcadTolerance AddTolerance(java.lang.String text, Point insertionPoint, double height)
           
 Acad3DSolid AddTorus(Point center, double torusRadius, double tubeRadius)
           
 AcadTrace AddTrace(Point[] pointsArray)
           
 Acad3DSolid AddWedge(Point center, double length, double width, double height)
           
 Acad3DSolid AddXLine(Point point1, Point point2)
           
 AcadExternalReference AttachExternalReference(java.lang.String pathName, java.lang.String name, Point insertionPoint, double xScale, double yScale, double zScale, double rotation, boolean bOverlay)
           
 AcadBlockReference InsertBlock(Point insertionPoint, java.lang.String name, double xScale, double yScale, double zScale, double rotation)
           
 AcadObject Item(int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Add3DFace

public Acad3DFace Add3DFace(Point p1,
                            Point p2,
                            Point p3,
                            Point p4)

Add3DFace

public Acad3DFace Add3DFace(Point p1,
                            Point p2,
                            Point p3)

Add3DPoly

public Acad3DPolyline Add3DPoly(Point[] points)

AddBox

public Acad3DSolid AddBox(Point origin,
                          double length,
                          double width,
                          double height)

AddExtrudedSolid

public Acad3DSolid AddExtrudedSolid(AcadRegion r,
                                    double length,
                                    double taper)

AddCircle

public AcadCircle AddCircle(Point center,
                            double radius)

AddCylinder

public Acad3DSolid AddCylinder(Point center,
                               double radius,
                               double height)

AddAttribute

public AcadAttribute AddAttribute(double height,
                                  int mode,
                                  java.lang.String prompt,
                                  Point insertionPoint,
                                  java.lang.String tag,
                                  java.lang.String value)

AddCone

public Acad3DSolid AddCone(Point center,
                           double baseRadius,
                           double height)

AddCustomObject

public AcadObject AddCustomObject(java.lang.String className)

AddDim3PointAngular

public AcadDim3PointAngular AddDim3PointAngular(Point angleVertex,
                                                Point firstEndPoint,
                                                Point secondEndPoint,
                                                Point textPoint)

AddDimAligned

public AcadDimAligned AddDimAligned(Point extLine1Point,
                                    Point extLine2Point,
                                    Point textPosition)

AddDimAngular

public AcadDimAngular AddDimAngular(Point angleVertex,
                                    Point firstEndPoint,
                                    Point secondEndPoint,
                                    Point textPoint)

AddDimDiametric

public AcadDimDiametric AddDimDiametric(Point chordPoint,
                                        Point farChordPoint,
                                        double leaderLength)

AddDimOrdinate

public AcadDimOrdinate AddDimOrdinate(Point definitionPoint,
                                      Point leaderEndPoint,
                                      boolean useXAxis)

AddDimRadial

public AcadDimRadial AddDimRadial(Point center,
                                  Point chordPoint,
                                  double leaderLength)

AddDimRotated

public AcadDimRotated AddDimRotated(Point xLine1Point,
                                    Point xLine2Point,
                                    Point dimLineLocation,
                                    double rotationAngle)

AddEllipse

public AcadEllipse AddEllipse(Point center,
                              double majorAxis,
                              double radiusRatio)
I can't get this one to work.

Parameters:
center -
majorAxis -
radiusRatio -
Returns:

AddEllipticalCone

public Acad3DSolid AddEllipticalCone(Point center,
                                     double majorAxis,
                                     double minorAxis,
                                     double height)

AddEllipticalCylinder

public Acad3DSolid AddEllipticalCylinder(Point center,
                                         double majorAxis,
                                         double minorAxis,
                                         double height)

AddExtrudedSolidAlongPath

public Acad3DSolid AddExtrudedSolidAlongPath(AcadRegion profile,
                                             AcadEntity path)

AddHatch

public AcadHatch AddHatch(int patternType,
                          java.lang.String patternName,
                          boolean associativity)

AddLeader

public AcadLeader AddLeader(Point[] pointsArray,
                            java.lang.String annotation,
                            int type)

AddLightweightPolyline

public AcadLWPolyline AddLightweightPolyline(Point2D[] vertices)

AddLine

public AcadLine AddLine(Point startPoint,
                        Point endPoint)

AddMLine

public AcadMLine AddMLine(Point[] vertexList)

AddMText

public AcadMText AddMText(Point insertionPoint,
                          double width,
                          java.lang.String text)

AddPoint

public AcadPoint AddPoint(Point point)

AddPolyfaceMesh

public AcadPolyfaceMesh AddPolyfaceMesh(Point[] verticesList,
                                        int[] faceList)

AddPolyline

public AcadPolyline AddPolyline(Point[] verticesList)

AddRaster

public AcadRaster AddRaster(java.lang.String imageFileName,
                            Point insertionPoint,
                            double scaleFactor,
                            double rotationAngle)

AddRay

public AcadRay AddRay(Point point1,
                      Point point2)

AddRegion

public AcadRegion AddRegion(AcadObject[] objectList)
This function is supposed to make a region from a set of objects. It doesn't work properly but, it only works on the first object, and only if the first object is a lightweightpolyline

Parameters:
objectList -
Returns:

AddRevolvedSolid

public Acad3DSolid AddRevolvedSolid(AcadRegion profile,
                                    Point axisPoint,
                                    Point axisDir,
                                    double angle)

AddShape

public AcadShape AddShape(java.lang.String name,
                          Point insertionPoint,
                          double scaleFactor,
                          double rotation)

AddSolid

public AcadSolid AddSolid(Point point1,
                          Point point2,
                          Point point3,
                          Point point4)

AddSphere

public Acad3DSolid AddSphere(Point center,
                             double radius)

AddSpline

public AcadSpline AddSpline(Point[] pointsArray,
                            Point startTangent,
                            Point endTangent)

AddText

public AcadText AddText(java.lang.String textString,
                        Point insertionPoint,
                        double height)

AddTolerance

public AcadTolerance AddTolerance(java.lang.String text,
                                  Point insertionPoint,
                                  double height)

AddTorus

public Acad3DSolid AddTorus(Point center,
                            double torusRadius,
                            double tubeRadius)

AddTrace

public AcadTrace AddTrace(Point[] pointsArray)

AddWedge

public Acad3DSolid AddWedge(Point center,
                            double length,
                            double width,
                            double height)

AddXLine

public Acad3DSolid AddXLine(Point point1,
                            Point point2)

AttachExternalReference

public AcadExternalReference AttachExternalReference(java.lang.String pathName,
                                                     java.lang.String name,
                                                     Point insertionPoint,
                                                     double xScale,
                                                     double yScale,
                                                     double zScale,
                                                     double rotation,
                                                     boolean bOverlay)

InsertBlock

public AcadBlockReference InsertBlock(Point insertionPoint,
                                      java.lang.String name,
                                      double xScale,
                                      double yScale,
                                      double zScale,
                                      double rotation)

Item

public AcadObject Item(int index)