public interface LineSegment extends Line, ISegment
LineSegmentCollection
SmartObject.UpdateOption, SmartObject.VisibilityOption
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
ISegment.EndPointsData, ISegment.EndRcpsData
Modifier and Type | Method and Description |
---|---|
String |
getGuid()
Returns the Globally Unique Identifier (GUID) for this segment.
|
boolean |
isAngleLocked(NXObject object)
Returns whether or not an angle, parallel or perpendicular constraint exists
that constrains the angle between this segment and the other input object.
|
boolean |
isLengthLocked()
Returns whether or not a distance constraint exists that constrains the
distance between the two end control points of this line segment.
|
Constraint |
lockAngle(NXObject object,
boolean logicalConsOnly)
Adds a constraint to maintain the angle of this line segment with respect
to another object.
|
Constraint |
lockLength()
Adds a constraint to maintain the length of this line segment.
|
void |
unlockAngle(NXObject object)
Removes the angle, parallel or perpendicular constraint that constrains
the angle between this line segment and the input object.
|
void |
unlockLength()
Removes the distance constraint that constrains the distance between
the two end control points of this line segment.
|
endPoint, setEndPoint, setEndpoints, setStartPoint, startPoint
evaluate, protectFromDelete, releaseDeleteProtection, removeParameters, replaceParameters, setVisibility, update, visibility
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
getDraftingCurveInfo
getLength, isReference
convertEccentricLinearToLinear, convertLinearToEccentricLinear, followCurve, getCableDevices, getCablewaysLayoutViews, getEndPoints, getEndRcps, getIsEccentricSegment, getIsSegmentInterior, getIsTerminalSegment, getSegmentAllStocks, getSegmentStock, length, setEndPoints, setEndRcps, setIsTerminalSegment, setSegmentInteriorPart
deleteCharacterstics, getCharacteristics, getDestinationCharacteristics, getIntegerCharacteristic, getRealCharacteristic, getStringCharacteristic, setCharacteristic, setCharacteristic, setCharacteristic, setCharacteristic2, setCharacteristic2, setCharacteristic2, setCharacteristics, setCharacteristics2
Constraint lockLength() throws NXException, RemoteException
ControlPoint
objects of this line segment. See
Constraint
for a description of distance
constraints.
NXException
RemoteException
void unlockLength() throws NXException, RemoteException
Update.doUpdate(int)
afterwards to ensure that
the constraint is fully deleted.
NXException
RemoteException
boolean isLengthLocked() throws NXException, RemoteException
NXException
RemoteException
Constraint lockAngle(NXObject object, boolean logicalConsOnly) throws NXException, RemoteException
Constraint
for a description of angle, parallel
and perpendicular constraints.
object
- Other object.logicalConsOnly
- if true, only create perpendicular or
parallel constraints, if false will
also create angle constraints.NXException
RemoteException
void unlockAngle(NXObject object) throws NXException, RemoteException
Update.doUpdate(int)
afterwards to ensure that
the constraint is fully deleted.
object
- Other objectNXException
RemoteException
boolean isAngleLocked(NXObject object) throws NXException, RemoteException
object
- Other objectNXException
RemoteException
String getGuid() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.