The mqc_askBlendRadius() needs the tag of the blend. Look at the snippet below.
$feats << mqc_askFeaturesByType( "BLEND" );
$blend_feats <<
Loop
{
For $each_feat in $feats;
For $cur_blend_value is mqc_askBlendRadius( $each_feat );
If( your conditional statement )
Append {$each_feat}...
In KF I think each If statement must have both a Then and Else part. Your loop does not have a Then and Else after If statement.
Suresh
www.technisites.com.au
AskMinimumDist(
Tag object1,
Tag object2,
int guess1_given,
double[] guess1,
int guess2_given,
double[] guess2,
out double min_dist,
double[] pt_on_obj1,
double[] pt_on_obj2
)
The last two arguments return the co-ordinates of point on each object. You can easily calculate the delta...
enableOKButton_cb gets called after every interaction with the dialog. You have the option to check if all the required inputs have been satisfied or not. You can return true to enable the OK button or false to disable it.
Suresh
www.technisites.com.au
I suppose you could get the section planes and all section curves from the SectionCurveBuilder. Measure the distance between each curve and each plane. If the distance is zero(within modeling tolerance) the curves belong to that particular plane.
Suresh
www.technisites.com.au
Using points you could create a direction and obtain its vector. But subtracting point co-ordinates is easier for your purpose.
Direction CreateDirection(Point startPoint, Point endPoint, SmartObject.UpdateOption updateOption)
Vector3d Direction.Vector
Suresh
www.technisites.com.au
You can initialize a matrix with two vectors.
Use UF.UFMtx3.Initialize( double[] x_vec, double[] y_vec, [Out] double[] mtx )
Suresh
www.technisites.com.au
Looks like there is no UF wrapper for this in VB.
Use UFPart.AskPartTag(PartName) to get the part tag. Cast it to Part and use GetUserAttributes().
Suresh
www.technisites.com.au