CreateEdges
Create edges in a component without geometry.
Syntax
model.component(
<ctag>
).mesh(
<tag>
).create(
<ftag>
,"CreateEdges");
model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).selection();
model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).set(
property
,
<value>
);
model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).get
Type
(
property
);
Description
Use
model.component(
<ctag>
).mesh(
<tag>
).create(
<ftag>
,"CreateEdges")
to create additional edges in a component without geometry.
Choose between creating new meshed edges between vertices or converting existing mesh edges into edge elements. In the general case, converting mesh edges is most easily done by clicking in the Graphics window, as the midpoint coordinates must be exact.
When specifying start/end vertices, specify the size distribution in four different ways: by specifying the number of elements only, by specifying the maximum element size, by specifying the element distribution explicitly, or by specifying the number of elements together with properties determining the distribution of the elements. The property
type
determines which of the four alternatives you want to use.
The following properties are available:
Table 4-25:
Available Properties for CreateEdges
Property
Value
Default
Description
edgespec
vertices
|
meshedge
vertices
Specifies how to create edges. Either give selections of start/end vertices, or give exact coordinates of a mesh edge’s midpoint.
start
Selection
Starting vertices to create edges from when
edgespec
is
vertices
.
end
Selection
End vertices to create edges to when
edgespec
is
vertices
.
type
size
|
number
|
explicit
|
predefined
size
Size distribution type when
edgespec
is
vertices
.
coordsel
double[][]
{}
Enter exact midpoint coordinates of mesh edge when
edgespec
is
meshedges
. Use
setIndex
syntax.
Table 4-26:
Available Additional Property When type is SET to size
Property
Value
Default
Description
size
double
0.1*(size of bounding box) (3D); (size of bounding box) / 15 (2D)
Maximum element size.
Table 4-27:
Available Additional Property when type is number
Property
Value
Default
Description
numelem
integer
1
Number of elements.
Table 4-28:
Available Additional Properties when type is explicit
Property
Value
Default
Description
explicit
double[]
{0,1}
Specify the relative placement of vertices along the edge.
reverse
on
|
off
on
Reverse the direction of the explicit distribution.
Table 4-29:
Available Additional Properties when type is predefined
Property
Value
Default
Description
elemcount
integer
5
Number of elements.
elemratio
double
1
Specify the ration in size between the last element and first element along the edge.
method
arithmetic
|
geometric
arithmetic
Specify if the element distribution is an arithmetic or a geometric sequence.
reverse
on
|
off
off
Specify if the distribution is defined in the opposite edge direction for the edge in the selection with lowest index.
symmetric
on
|
off
off
Specify if the distribution is made symmetric.
See Also
CreateDomains
,
CreateFaces
,
CreateVertices