Added EN_setnodeid and EN_setlinkid (Issue #306)
This commit is contained in:
@@ -842,6 +842,14 @@ extern "C" {
|
||||
@return Error code.
|
||||
*/
|
||||
int DLLEXPORT ENsetcontrol(int cindex, int ctype, int lindex, EN_API_FLOAT_TYPE setting, int nindex, EN_API_FLOAT_TYPE level);
|
||||
|
||||
/**
|
||||
@brief Change the ID name for a node.
|
||||
@param index The index of a node. First node is index 1.
|
||||
@param newid A string containing the node's new ID name.
|
||||
@return Error code.
|
||||
*/
|
||||
int DLLEXPORT ENsetnodeid(int index, char *newid);
|
||||
|
||||
/**
|
||||
@brief Set a property value for a node.
|
||||
@@ -852,6 +860,14 @@ extern "C" {
|
||||
@see EN_NodeProperty
|
||||
*/
|
||||
int DLLEXPORT ENsetnodevalue(int index, int code, EN_API_FLOAT_TYPE v);
|
||||
|
||||
/**
|
||||
@brief Change the ID name for a link.
|
||||
@param index The index of a link. First link is index 1.
|
||||
@param newid A string containing the link's new ID name.
|
||||
@return Error code.
|
||||
*/
|
||||
int DLLEXPORT ENsetlinkid(int index, char *newid);
|
||||
|
||||
/**
|
||||
@brief Set a property value for a link.
|
||||
@@ -1297,7 +1313,9 @@ extern "C" {
|
||||
|
||||
int DLLEXPORT EN_addcontrol(EN_ProjectHandle ph, int *cindex, int ctype, int lindex, EN_API_FLOAT_TYPE setting, int nindex, EN_API_FLOAT_TYPE level);
|
||||
int DLLEXPORT EN_setcontrol(EN_ProjectHandle ph, int cindex, int ctype, int lindex, EN_API_FLOAT_TYPE setting, int nindex, EN_API_FLOAT_TYPE level);
|
||||
int DLLEXPORT EN_setnodeid(EN_ProjectHandle ph, int index, char *newid);
|
||||
int DLLEXPORT EN_setnodevalue(EN_ProjectHandle ph, int index, int code, EN_API_FLOAT_TYPE v);
|
||||
int DLLEXPORT EN_setlinkid(EN_ProjectHandle ph, int index, char *newid);
|
||||
int DLLEXPORT EN_setlinkvalue(EN_ProjectHandle ph, int index, int code, EN_API_FLOAT_TYPE v);
|
||||
int DLLEXPORT EN_addpattern(EN_ProjectHandle ph, char *id);
|
||||
int DLLEXPORT EN_setpattern(EN_ProjectHandle ph, int index, EN_API_FLOAT_TYPE *f, int len);
|
||||
|
||||
Reference in New Issue
Block a user