public interface BaseCustomSymbol extends DraftingAid, IPmi
Annotation.AssociativeOriginData
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
addLeader(LeaderBundle leader)
Adds leaders to the custom symbol.
|
void |
flipSymbol(FlipOption flipOption)
Flips the custom symbol horizontally/vertically.
|
Point |
getAnchor()
Returns the master custom symbol anchor point
License requirements: None. |
CustomSymbolData |
getSymbolData()
Deprecated.
Deprecated in NX9.0.0. Use
DraftingCustomSymbolBuilder for Drafting Custom Symbol and PmiCustomSymbolBuilder for PMI Custom Symbol objects.
|
void |
removeLeader(int nthLeader)
Removes leader from the custom symbol.
|
void |
replaceSymbol(String name,
String path,
boolean isPartSymbol)
Replace custom symbol with the given master symbol name and path.
|
void |
setAnchor(Point anchorPoint)
Sets the master custom symbol anchor point.
|
void |
setSymbolData(CustomSymbolData data)
Deprecated.
Deprecated in NX9.0.0. Use
DraftingCustomSymbolBuilder for Drafting Custom Symbol and PmiCustomSymbolBuilder for PMI Custom Symbol objects.
|
String |
symbolName()
Returns the symbol name.
|
void |
synchronizeSymbol()
Synchronize associative custom symbol.
|
void |
updateFromRule()
Updates the specified symbol from the KF rule.
|
void |
updateSymbolGeometry(Point3d origin,
double scale,
double angle)
Sets the origin, scale and angle for a custom symbol instance
and updates the leaders (if any) as needed.
|
annotationOrigin, annotationPlane, getAssociativeOrigin, getAssociativity, getInferredAnnotationPlane, getLetteringPreferences, getLineAndArrowPreferences, getSymbolPreferences, getViews, hasAssociativeOrigin, insertIntoStack, isRetained, leaderOrientation, numberOfAssociativities, parallelToScreen, removeFromStack, setAnnotationOrigin, setAnnotationPlane, setAssociativeOrigin, setAssociativity, setLeaderOrientation, setLetteringPreferences, setLineAndArrowPreferences, setParallelToScreen, setSymbolPreferences, setViews, suppressed
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
addBusinessModifiers, getAssociatedObject, getBusinessModifiers, getSharedAssociatedObject, index, isMirrored, setAssociatedObject, setBusinessModifiers, setIndex
CustomSymbolData getSymbolData() throws NXException, RemoteException
DraftingCustomSymbolBuilder
for Drafting Custom Symbol and PmiCustomSymbolBuilder
for PMI Custom Symbol objects.
NXException
RemoteException
void setSymbolData(CustomSymbolData data) throws NXException, RemoteException
DraftingCustomSymbolBuilder
for Drafting Custom Symbol and PmiCustomSymbolBuilder
for PMI Custom Symbol objects.
data
- New custom symbol data
NXException
RemoteException
void flipSymbol(FlipOption flipOption) throws NXException, RemoteException
flipOption
- New flip optionNXException
RemoteException
void updateSymbolGeometry(Point3d origin, double scale, double angle) throws NXException, RemoteException
origin
- New originscale
- New scaleangle
- New angleNXException
RemoteException
void addLeader(LeaderBundle leader) throws NXException, RemoteException
leader
- Specifies the leaders to addNXException
RemoteException
void removeLeader(int nthLeader) throws NXException, RemoteException
nthLeader
- Specifies which leader to removeNXException
RemoteException
void synchronizeSymbol() throws NXException, RemoteException
NXException
RemoteException
void replaceSymbol(String name, String path, boolean isPartSymbol) throws NXException, RemoteException
name
- Master symbol namepath
- Master symbol pathisPartSymbol
- true if part symbol else falseNXException
RemoteException
String symbolName() throws NXException, RemoteException
NXException
RemoteException
Point getAnchor() throws NXException, RemoteException
NXException
RemoteException
void setAnchor(Point anchorPoint) throws NXException, RemoteException
anchorPoint
- Custom Symbol Anchor PointNXException
RemoteException
void updateFromRule() throws NXException, RemoteException
Update.doUpdate(int)
.
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.