PCL Reference Manual > Preference Functions > Geometry Preferences
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Geometry Preferences
This section is used to describe some of the functions used to govern some of the preferences used to define how geometry is interpreted.
   
pref_geometry_get_v1
(hpat_parametrization, nurbs_acceleration, geometry_convention)
Description:
 
 
This function gets the geometric preference values in the database.
Input:
 
 
None.
 
 
Output:
 
 
LOGICAL
hpat_parametrization
This value returns a status setting used to select the parameter convention for hyperpatches. When this value is set to TRUE, hyperpatches will not necessarily use the same parameters as used with Patran 2.5. When this value is set to FALSE it indicates that the Patran convention will be used with solid origin locations.
LOGICAL
nurbs_acceleration
This value returns a status setting used to select, when set to TRUE, that nurbs curves and surfaces will be evaluated using specially designed evaluators which are optimized for speed. These optimized evaluators should not be used with higher order curves and surfaces as they tend to be unstable under those conditions. When this value is set to FALSE another kind of evaluator is used, one that is stable under all conditions.
LOGICAL
geometry_convention
This value returns a status setting used to select, when set to TRUE, that geometry will be represented using the Patran 2.5 convention. When this value is set to FALSE, the Patran convention will be used.
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.
Error Conditions:
 
None.
 
 
 
Remarks:
This function is used in the implementation of the form displayed when the “Report...” selection is picked from the “Preferences” pull down menu.
Example:
Please see pref_geometry_get_v1.
pref_geometry_set_v1
(hpat_parametrization, nurbs_acceleration, geometry_convention)
Description:
 
 
This function sets the geometric preference values in the database.
Input:
 
 
LOGICAL
hpat_parametrization
This value specifies, when set to TRUE, that hyperpatches will not necessarily use the same parameters as used with Patran 2.5. Setting this value to TRUE will indicate that the Patran convention will be used with solid origin locations. Setting this value to FALSE will ensure compatibility with models created using Patran 2.5.
LOGICAL
nurbs_acceleration
This value specifies, when set to TRUE, that nurbs curves and surfaces will be evaluated using specially designed evaluators which are optimized for speed. These optimized evaluators should not be used with higher order curves and surfaces as they tend to be unstable under those conditions. When this value is set to FALSE another kind of evaluator is used, one that is stable under all conditions.
LOGICAL
geometry_convention
This value specifies, when set to TRUE, that geometry will be represented using the Patran 2.5 convention. Setting this value to TRUE will ensure compatibility with models created using Patran 2.5. When this value is set to FALSE, the Patran convention will be used.
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.
Error Conditions:
 
None.
 
 
 
Remarks:
This function is used in the implementation of the form displayed when the “Report...” selection is picked from the “Preferences” pull down menu.
Example:
Please see pref_geometry_set_v1.