hycohanz modeler3d
Assign a material to the specified objects. Only the MaterialName and SolveInside parameters of <AttributesArray> are supported.
Parameters : | oEditor : pywin32 COMObject
partlist : list
|
---|---|
Returns : | None : |
Copy specified parts to the clipboard.
Parameters : | oEditor : pywin32 COMObject
partlist : list of strings
|
---|---|
Returns : | None : |
Create a circle primitive.
Parameters : | oEditor : pywin32 COMObject
xc : float or hycohanz Expression object yc : float or hycohanz Expression object zc : float or hycohanz Expression object
radius : float
WhichAxis : str
NumSegments : int
Name : str
Flags : str
Color : tuple of length=3
Transparency : float between 0 and 1
PartCoordinateSystem : str
MaterialName : str
SolveInside : bool
|
---|---|
Returns : | str :
|
Draw a polyline.
Warning: HFSS apparently throws an exception whenever IsPolylineClosed=False Warning: HFSS 13 crashes when you click on the last segment in the model tree.
Parameters : | oEditor : pywin32 COMObject
x : array_like
y : array_like
z : array_like
Name : str
Flags : str
Transparency : float
PartCoordinateSystem : str
UDMId : str
MaterialValue : str
SolveInside : bool
IsPolylineCovered : bool
IsPolylineClosed : bool
TODO: finish documentation of this function. : |
---|---|
Returns : | polyname : str
x, y, and z are lists with numeric or string elements. : |
Draw a rectangle.
Parameters : | oEditor : pywin32 COMObject
xs : float or hycohanz Expression object ys : float or hycohanz Expression object zs : float or hycohanz Expression object
width : float or hycohanz Expression object
height : float or hycohanz Expression object
WhichAxis : str
Name : str
Flags : str
Color : tuple of length=3
Transparency : float between 0 and 1
PartCoordinateSystem : str
MaterialName : str
SolveInside : bool
IsCovered : bool
|
---|---|
Returns : | str :
|
Create a sphere primitive.
Parameters : | oEditor : pywin32 COMObject
x : float or hycohanz Expression object
y : float or hycohanz Expression object
z : float or hycohanz Expression object
radius : float
Name : str
Flags : str
Color : tuple of ints
Transparency : float between 0 and 1
PartCoordinateSystem : str
UDMId : str
MaterialValue : str
SolveInside : bool
|
---|---|
Returns : | part : str
|
Return the object ID of the specified part.
Note: This is NOT the inverse of get_object_name()!
Return the object name corresponding to the zero-based creation-order index.
Note: This is NOT the inverse of get_object_id_by_name()!
Return the object name corresponding to the given face ID.
Get a list of the currently-selected objects in the design.
Parameters : | oEditor : pywin32 COMObject
|
---|---|
Returns : | selectionlist : list
|
Imprint an object onto another object.
Note: This function is undocumented in the HFSS Scripting Guide.
Mirror specified parts about a given base point with respect to a given plane.
Parameters : | oEditor : pywin32 COMObject
partlist : list
base : list
normal : list
|
---|---|
Returns : | None : |
Move specified parts.
Parameters : | oEditor : pywin32 COMObject
partlist : list
x : float
y : float
z : float
|
---|---|
Returns : | None : |
Paste a design in the active project from the clipboard.
Parameters : | oEditor : pywin32 COMObject
|
---|---|
Returns : | pastelist : list
|
Rotate specified parts.
Parameters : | oEditor : pywin32 COMObject
partlist : list
axis : str
angle : float
|
---|---|
Returns : | None : |
Scale specified parts.
Parameters : | oEditor : pywin32 COMObject
partlist : list
x : float
y : float
z : float
|
---|---|
Returns : | None : |
Subtract the specified objects.
Parameters : | oEditor : pywin32 COMObject
partlist : list
toollist : list
KeepOriginals : bool
|
---|---|
Returns : | objname : str
|
Sweeps the specified 1D or 2D parts along a vector.
Parameters : | oEditor : pywin32 COMObject
obj_name_list : list
x : float
y : float
z : float
|
---|---|
Returns : | None : |