public interface MarkupFileObjectCollection extends TaggedObjectCollection
nxopen.Markup.File
nxopen.Markup.File
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
Circle |
createCircle(Point2d center,
double radius)
Creates a
nxopen.Markup.Circle
License requirements: None. |
Ellipse |
createEllipse(Point2d center,
double major,
double minor)
Creates a
nxopen.Markup.Ellipse
License requirements: None. |
Freehand |
createFreehand(Point2d[] points)
Creates a
nxopen.Markup.Freehand
License requirements: None. |
Icon |
createIcon(Point2d position,
String iconName,
Icon.Size size)
Creates a
nxopen.Markup.Icon
License requirements: None. |
Polyline |
createPolyline(Point2d[] points)
Creates a
nxopen.Markup.Polyline
License requirements: None. |
Rectangle |
createRectangle(Point2d center,
double length,
double width)
Creates a
nxopen.Markup.Rectangle
License requirements: None. |
Text |
createText(Point2d position,
String textContent)
Creates a
nxopen.Markup.Text
License requirements: None. |
void |
deleteObjects(TaggedObject[] objects)
Deletes a list of
nxopen.Markup.MarkupObject
License requirements: None. |
MarkupObject |
findObject(String id)
Finds the
nxopen.Markup.MarkupObject with the given id in current file. |
_find_next, iterator
MarkupObject findObject(String id) throws NXException, RemoteException
nxopen.Markup.MarkupObject
with the given id in current file.
An exception will be thrown if no object can be found with given name.
id
- The id of the nxopen.Markup.MarkupObject
nxopen.Markup.MarkupObject
with this idNXException
RemoteException
Circle createCircle(Point2d center, double radius) throws NXException, RemoteException
nxopen.Markup.Circle
center
- radius
- NXException
RemoteException
Ellipse createEllipse(Point2d center, double major, double minor) throws NXException, RemoteException
nxopen.Markup.Ellipse
center
- major
- minor
- NXException
RemoteException
Rectangle createRectangle(Point2d center, double length, double width) throws NXException, RemoteException
nxopen.Markup.Rectangle
center
- length
- width
- NXException
RemoteException
Polyline createPolyline(Point2d[] points) throws NXException, RemoteException
nxopen.Markup.Polyline
points
- NXException
RemoteException
Freehand createFreehand(Point2d[] points) throws NXException, RemoteException
nxopen.Markup.Freehand
points
- NXException
RemoteException
Text createText(Point2d position, String textContent) throws NXException, RemoteException
nxopen.Markup.Text
position
- textContent
- NXException
RemoteException
Icon createIcon(Point2d position, String iconName, Icon.Size size) throws NXException, RemoteException
nxopen.Markup.Icon
position
- iconName
- size
- NXException
RemoteException
void deleteObjects(TaggedObject[] objects) throws NXException, RemoteException
nxopen.Markup.MarkupObject
objects
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.