public interface GeomSequence extends GeomContainer, IPlotAndImageExport
Modifier and Type | Method and Description |
---|---|
double |
absRepairTol()
Returns default absolute repair tolerance used when creating new
features.
|
void |
absRepairTol(double absrepairtol)
Sets default absolute repair tolerance to use when creating new
features.
|
java.lang.String |
angularUnit()
Returns the angular unit.
|
GeomSequence |
angularUnit(java.lang.String angularUnit)
Sets the angular unit.
|
ModelParam |
argument()
Deprecated.
Use
inputParam() instead. |
java.lang.String |
autoRebuild()
Get the value of the geometry's auto rebuild setting.
|
GeomSequence |
autoRebuild(java.lang.String auto)
Set the geometry's autorebuild setting.
|
GeomSequence |
axisymmetric(boolean isaxi)
Declares geometry to be axisymmetric or non-axisymmetric.
|
java.lang.String |
commentsInFile()
For a loaded part, returns the comments from the mph file.
|
GeomFeature |
create(java.lang.String tag,
java.lang.String type)
Creates a geometry feature.
|
java.lang.String |
current()
Returns the current feature's tag.
|
java.lang.String |
dateModifiedInFile()
For a loaded part, returns the modification date from the mph file.
|
GeomDefeature |
defeaturing(java.lang.String tag)
Gets one of the defeaturing tools
Fillets ,ShortEdges ,
SliverFaces ,SmallFaces ,
Spikes ,DeleteFaces , or
DetachFaces . |
void |
delete(java.lang.String[] obj)
Deletes geometry objects.
|
GeomExport |
export()
Gets the geometry export tool.
|
java.lang.String |
export(java.lang.String filename)
Export the geometry objects selected in the geometry export tool to a
mphbin or mphtxt file.
|
java.lang.String |
exportFinal(java.lang.String filename)
Export the finalized geometry to a mphbin or mphtxt file.
|
GeomFeatureList |
feature()
Returns all geometry features in the geometry sequence.
|
GeomFeature |
feature(java.lang.String fTag)
Returns a geometry feature with the given tag.
|
java.lang.String |
filename()
Returns the filename for a loaded part.
|
void |
filename(java.lang.String filename)
Changes the filename for a loaded part.
|
java.lang.String |
geomRep()
Returns the geometry representation:
comsol , meaning the
COMSOL geometry kernel, or cadps , meaning the CAD Import
Module kernel. |
GeomSequence |
geomRep(java.lang.String geomrep)
Set the geometry representation:
comsol , meaning the
COMSOL geometry kernel, or cadps , meaning the CAD Import
Module kernel. |
double |
geomScaleFactor()
Returns the geometry's length unit expressed the model's length unit.
|
ModelParam |
inputParam()
Get input parameters of the part.
|
void |
insertFile(java.lang.String filename,
java.lang.String sequencename)
Insert all geometry features from a geometry sequence in an mph file
into this sequence.
|
void |
insertSequence(java.lang.String modeltag,
java.lang.String sequencename)
Insert all geometry features from a geometry sequence in a different
model into this sequence.
|
boolean |
isAxisymmetric()
Check if the geometry is axisymmetric.
|
java.lang.String |
labelInFile()
Returns the label of a loaded part in the mph file.
|
java.lang.String |
lengthUnit()
Returns the geometry's length unit.
|
GeomSequence |
lengthUnit(java.lang.String lengthUnit)
Sets the geometry's length unit.
|
boolean |
linked()
Deprecated.
Use
loaded() instead. |
boolean |
loaded()
Returns true for a part if it is loaded.
|
ModelParam |
localParam()
Get local parameters of the part.
|
GeomMeasure |
measure()
Return the measurement tool for geometry objects.
|
GeomMeasureFinal |
measureFinal()
Returns the measurement tool for the finalized geometry.
|
void |
move(java.lang.String[] obj,
double[] dist)
Apply a move transform to a set of objects.
|
GeomObject |
obj(java.lang.String name)
Returns the geometry object with the given name.
|
GeomObject |
object(java.lang.String arg0)
Deprecated.
Use
obj(String) instead. |
java.lang.String[] |
objectNames()
Returns the names of all objects that exist in the current state, that
is, are produced, and have not been eaten, by features up to the
current feature.
|
ModelParam |
param()
Deprecated.
Use
localParam() instead. |
boolean |
partVariant()
Returns true for a part if it is a part variant.
|
GeomSequence |
partVariant(boolean isPartVariant)
Set the part variant attribute of a part.
|
java.lang.String[] |
problems()
Return features with errors or warnings.
|
void |
relink()
Deprecated.
Use
reload() instead. |
void |
reload()
Reloads a loaded part.
|
double |
repairTol()
Returns default relative repair tolerance used when creating new
features.
|
void |
repairTol(double repairtol)
Sets default relative repair tolerance to use when creating new
features.
|
java.lang.String |
repairTolType()
Returns default type of repair tolerance used when creating new
features.
|
void |
repairTolType(java.lang.String repairtoltype)
Sets default type of repair tolerance to use when creating new
features.
|
void |
run()
Build all features, including the Finalize feature.
|
GeomSequence |
run(java.lang.String fTag)
Build all features up to the feature with tag fTag.
|
GeomSequence |
runAll()
Deprecated.
Use
run() or run(String) . |
GeomSequence |
runCurrent()
Build all features up to the current feature.
|
GeomSequence |
runPre(java.lang.String fTag)
Build all features preceding a feature.
|
void |
scale(java.lang.String[] obj,
double[] factor,
double[] center)
Apply an anisotropic scaling transform to a set of objects.
|
void |
scale(java.lang.String[] obj,
double factor,
double[] center)
Apply an isotropic scaling transform to a set of objects.
|
boolean |
scaleUnitValue()
Check if property values are scaled when the geometry's lengthor
angular unit is changed.
|
GeomSequence |
scaleUnitValue(boolean scale)
If scale is
true , set the geometry to scale property
values when the length or angular unit is changed. |
GeomObjectSelectionFeatureList |
selection()
Access list of named geometry object selections.
|
GeomObjectSelectionFeature |
selection(java.lang.String selTag)
Access named geometry object selections.
|
void |
setGeom(java.lang.String fileName)
Set the finalized geometry by importing it from the specified file.
|
GeomSequence |
stepInto(java.lang.String partInstanceTag)
Step into a part instance feature.
|
java.lang.String |
tagInFile()
Returns the tag of a loaded part in the mph file.
|
GeomSequence |
tagInFile(java.lang.String tag)
Changes the tag in file for a loaded part.
|
java.lang.String |
versionInFile()
For a loaded part, returns the version from the mph file..
|
check, edgeCurvature, edgeDDDX, edgeDDX, edgeDX, edgeMaxFaceAngle, edgeNormal, edgeParamRange, edgeTorsion, edgeX, exists, faceDDX, faceDX, faceFF1, faceFF2, faceGaussCurvature, faceMeanCurvature, faceNormal, faceParamRange, faceX, getAdj, getAdj, getAdjExt, getAdjExt, getAdjExtOrient, getAdjExtOrient, getAdjOrient, getAdjOrient, getAdjSparse, getBoundingBox, getEdge, getFace, getNBoundaries, getNDomains, getNEdges, getNEntities, getNEntitiesMesh, getNFaces, getNFiniteVoids, getNVertices, getPEdge, getPVertex, getSD, getSDim, getStartEnd, getType, getUpDown, getUpDownExt, getVertex, getVertexCoord, getVertexDomain, getVtx, hasCadRep, voidsAreLabeled
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
image
double absRepairTol()
void absRepairTol(double absrepairtol)
absrepairtol
- Absolute repair tolerance.java.lang.String angularUnit()
GeomSequence angularUnit(java.lang.String angularUnit)
angularUnit
- Angular unit.@Deprecated ModelParam argument()
inputParam()
instead.java.lang.String autoRebuild()
GeomSequence autoRebuild(java.lang.String auto)
on
means that the
geometry is automatically rebuilt when a non-geometry node is
selected in the model builder in the COMSOL desktop. off
disables the automatic rebuild logic.auto
- Autorebuild setting.GeomSequence axisymmetric(boolean isaxi)
isaxi
- True if axisymmetric. False if non-axisymmetric.java.lang.String commentsInFile()
GeomFeature create(java.lang.String tag, java.lang.String type)
tag
- Tag of the created feature.type
- Type of the created feature.java.lang.String current()
java.lang.String dateModifiedInFile()
GeomDefeature defeaturing(java.lang.String tag)
Fillets
,ShortEdges
,
SliverFaces
,SmallFaces
,
Spikes
,DeleteFaces
, or
DetachFaces
.tag
- Defeaturing tool tag.void delete(java.lang.String[] obj)
obj
- Vector of tags.GeomExport export()
java.lang.String export(java.lang.String filename)
filename
- File to export to.java.lang.String exportFinal(java.lang.String filename)
filename
- File to export to.GeomFeatureList feature()
GeomFeature feature(java.lang.String fTag)
fTag
- Geometry feature tag.java.lang.String filename()
void filename(java.lang.String filename)
filename
- The new filename.java.lang.String geomRep()
comsol
, meaning the
COMSOL geometry kernel, or cadps
, meaning the CAD Import
Module kernel.GeomSequence geomRep(java.lang.String geomrep)
comsol
, meaning the
COMSOL geometry kernel, or cadps
, meaning the CAD Import
Module kernel. When changing the geometry representation, existing
features are changed to use the selected kernel, but they are not
rebuilt. Some features do not support the CAD Import Module kernel -
these features always use the COMSOL kernel.geomrep
- Geometry representation.double geomScaleFactor()
ModelParam inputParam()
void insertFile(java.lang.String filename, java.lang.String sequencename)
filename
- File name.sequencename
- Sequence tag.void insertSequence(java.lang.String modeltag, java.lang.String sequencename)
modeltag
- Model tag.sequencename
- Sequence tag.boolean isAxisymmetric()
true
if axisymmetric.java.lang.String labelInFile()
java.lang.String lengthUnit()
GeomSequence lengthUnit(java.lang.String lengthUnit)
lengthUnit
- Length unit.@Deprecated boolean linked()
loaded()
instead.boolean loaded()
ModelParam localParam()
GeomMeasure measure()
GeomMeasureFinal measureFinal()
void move(java.lang.String[] obj, double[] dist)
obj
- Object tags of objects to mov.dist
- The translation vector. Length must be equal to the space dimension.GeomObject obj(java.lang.String name)
name
- Geometry object name.@Deprecated GeomObject object(java.lang.String arg0)
obj(String)
instead.java.lang.String[] objectNames()
@Deprecated ModelParam param()
localParam()
instead.boolean partVariant()
GeomSequence partVariant(boolean isPartVariant)
isPartVariant
- New value of the attribute.java.lang.String[] problems()
@Deprecated void relink()
reload()
instead.void reload()
double repairTol()
void repairTol(double repairtol)
repairtol
- Relative repair tolerance.java.lang.String repairTolType()
void repairTolType(java.lang.String repairtoltype)
repairtoltype
- Type of repair tolerance.void run()
GeomSequence run(java.lang.String fTag)
fTag
- Feature tag.@Deprecated GeomSequence runAll()
run()
or run(String)
.GeomSequence runCurrent()
GeomSequence runPre(java.lang.String fTag)
fTag
- Feature tag.void scale(java.lang.String[] obj, double factor, double[] center)
obj
- Object tags of objects to scale.factor
- Scale factor.center
- Center of scaling. Length must be equal to the space dimension.void scale(java.lang.String[] obj, double[] factor, double[] center)
obj
- Object tags of objects to scale.factor
- Scale factor. Length must be equal to the space dimension.center
- Center of scaling. Length must be equal to the space dimension.boolean scaleUnitValue()
true
if scaled.GeomSequence scaleUnitValue(boolean scale)
true
, set the geometry to scale property
values when the length or angular unit is changed. If scale is
false
, property values will not be scaled.scale
- Scale.GeomObjectSelectionFeatureList selection()
GeomObjectSelectionFeature selection(java.lang.String selTag)
selTag
- Tag of named geometry object selection to access.void setGeom(java.lang.String fileName)
fileName
- File name.GeomSequence stepInto(java.lang.String partInstanceTag)
partInstanceTag
- Part instance feature tag.java.lang.String tagInFile()
GeomSequence tagInFile(java.lang.String tag)
tag
- New tag in file.java.lang.String versionInFile()