PCL and Customization > Broken, Obsolete, Modified and New Functions > Accessing the Patran Database (Chapter 8)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Accessing the Patran Database (Chapter 8)
 
db_create_lbc
Issue:Not supported in Patran.
Resolution:Remove the function decription from the documentation.
Type:Obsolete.
 
Note:  
This function is obsolete and no longer usable. Please use db_create_lbc_new, 730 instead.
 
Input:
 
 
CHARACTER STRING
 
 
<load_name>
The external name used to reference this load.
INTEGER
<application_type>
The internal ID of the load of interest.
1 = load applied to nodes
2 = load applied to elements and constant over the element
3 = load applied to elements and varying over the element
INTEGER
<load_type>
The ID of the load type of this load. See Table 7‑4 for the load ID’s currently being used by Patran.
INTEGER
<elem_dimension>
The dimensionality of the loaded elements:
1 = line element
2 = surface element
3 = solid element
INTEGER
<dynamic_flag>
A flag specifying whether this load is constant with respect to time or frequency (0) or varies with respect to time or frequency (1).
INTEGER
<coord_id>
The ID of the coordinate frame along which the loads are acting. -1 if acting in the global system or not appropriate for this load.
Output:
 
 
INTEGER
<load_id>
The internal ID assigned to this load by Patran.
INTEGER
<Return Value>
This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error.
Notes:
The C name differs. It is DbFCreateLbc.
int DbFCreateLbc ( load_name, application_type, load_type, elem_dimension, dynamic_flag, coord_id, load_id )
 char 	*load_name
 int 	application_type
 int 	load_type
 int 	elem_dimension
 int 	dynamic_flag
 int 	coord_id
 int 	*load_id
 
db_create_lbc_ds
Issue:Not supported in Patran.
Resolution:Remove the function decription from the documentation.
Type:Obsolete.
 
Note:  
This function is still usable, but obsolete. Please use db_create_lbc_input_data (p. 598) instead.
  
Input:
 
 
INTEGER
<load_id>
The internal ID of the load of interest.
INTEGER
<num_variables>
The number of load variables defined for this load.
INTEGER ARRAY
 
 
<variable_ids>
The IDs of the <num_variables> load variables defined for this load. See db_create_nodal_lbc_var_defn, 559 and db_create_elem_lbc_var_defn, 558 for details about the load variable IDs.
REAL ARRAY
<real_values>
The real scalar values for each of the <num_variables> load variables.
INTEGER ARRAY
 
 
<spatial_fields>
The spatially varying field references for each of the <num_variables> load variables. Zero signifies that there is no spatial variance in the load.
INTEGER ARRAY
 
 
<dynamic_fields>
The <num_variables> dynamic field references for all the load variables. Zero implies that the corresponding load variable is constant with respect to time or frequency.
REAL ARRAY
<scale_factors>
The <num_variables> scale factors to be applied to each of the load variables.
Output:
 
 
INTEGER
<Return Value>
This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error.
Notes:
The C name differs. It is DbFCreateLbcDS.
int DbFCreateLbcDS ( load_id, num_variables, variable_ids, real_values, spatial_fields, dynamic_fields, scale_factors )
int 	load_id
int 	num_variables
int 	variable_ids [ ]
float 	real_values [ ]
int 	spatial_fields [ ]
int 	dynamic_fields [ ]
float 	scale_factors [ ]
 
db_create_lbc_dv
Issue:Not supported in Patran.
Resolution:Remove the function decription from the documentation.
Type:Obsolete.
 
Note:  
This function is still usable, but obsolete. Please use db_create_lbc_input_data (p. 598) instead.
 
Input:
 
 
INTEGER
<load_id>
The internal ID of the load of interest.
INTEGER
<num_variables>
The number of load variables defined for this load.
INTEGER ARRAY
 
 
<variable_ids>
The IDs of the <num_variables> load variables defined for this load. See db_create_nodal_lbc_var_defn, 559 and db_create_elem_lbc_var_defn, 558 for details about the load variable IDs.
REAL ARRAY
<real_values>
The values for the 3 components for each of the <num_variables> load variables. If a corresponding spatial field reference exists, this value is meaningless.
INTEGER ARRAY
 
 
<spatial_fields>
The spatially varying field references for the 3 components for each of the <num_variables> load variables. Zero signifies that there is no spatial variance in the load and the corresponding <real_values> value should be used. If a spatial reference exists, the corresponding <real_values> value should be ignored.
INTEGER ARRAY
 
 
<dynamic_fields>
The dynamic field references for the 3 components for each of the <num_variables> load variables. Zero implies that the corresponding load variable vector component is constant with respect to time or frequency.
INTEGER ARRAY
 
 
<null_flags>
The null component flags for the 3 components for each of the <num_variables> load variables. -1 means that no data was filled in for that vector component, whereas 0 means that data was input for the corresponding vector component.
REAL ARRAY
<scale_factors>
The <num_variables> scale factors to be applied to each of the load variables.
Output:
 
 
INTEGER
<Return Value>
This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error.
Notes:
The C name differs. It is DbFCreateLbcDV.
int DbFCreateLbcDV ( load_id, num_variables, variable_ids, real_values, spatial_fields, dynamic_fields, null_flags, scale_factors )
int 	load_id
int 	num_variables
int 	variable_ids [ ]
float 	real_values [ ][3]
int 	spatial_fields [ ][3]
int 	dynamic_fields [ ][3]
int 	null_flags [ ][3]
float 	scale_factors [ ]
 
db_create_lbc_ss
Issue:Not supported in Patran.
Resolution:Remove the function decription from the documentation.
Type:Obsolete.
 
Note:  
This function is still usable, but obsolete. Use db_create_lbc_input_data (p. 598) instead.
 
Input:
 
 
INTEGER
<load_id>
The internal ID of the load of interest.
INTEGER
<num_variables>
The number of load variables defined for this load.
INTEGER ARRAY
 
 
<variable_ids>
The IDs of the <num_variables> load variables defined for this load. See db_create_nodal_lbc_var_defn, 559 and db_create_elem_lbc_var_defn, 558 for details about the load variable IDs.
REAL ARRAY
 
 
<real_values>
The real scalar values for each of the <num_variables> load variables. These values are meaningless if spatial field references exist.
INTEGER ARRAY
 
 
<spatial_fields>
The spatially varying field references for each of the <num_variables> load variables. Zero signifies that there is no spatial variance in the load and the corresponding <real_values> value should be used. If there is a spatial field reference, the corresponding <real_values> should be ignored.
REAL ARRAY
 
 
<scale_factors>
The <num_variables> scale factors to be applied to each of the load variables.
Output:
 
 
INTEGER
<Return Value>
This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error.
Notes:
The C name differs. It is DbFCreateLbcSS.
int DbFCreateLbcSS ( load_id, num_variables, variable_ids, real_values, spatial_fields, scale_factors )
int 	load_id
int 	num_variables
int 	variable_ids [ ]
float 	real_values [ ]
int 	spatial_fields [ ]
float	 scale_factors [ ]
 
db_get_elem_top_def
Issue:None.
Resolution:None.
Type:New.
 
db_get_node_ass_elem
Issue:None.
Resolution:None.
Type:New.
 
db_get_node_ass_geo
Issue:None.
Resolution:None.
Type:New.
 
db_get_node_ass_mpc
Issue:None.
Resolution:None.
Type:New.
 
db_get_elem_use_all_node
Issue:None.
Resolution:None.
Type:New.
 
db_get_matl_prop_value2
Issue:None.
Resolution:None.
Type:New.