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>
,"CreateVertices")
to create additional vertices in a component without geometry.
You can 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
start
Selection
Starting vertices to create edges from.
end
Selection
End vertices to create edges to.
type
size
|
number
|
explicit
|
predefined
code
Size distribution type.
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