Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reverse plane direction Vb.net 2

Status
Not open for further replies.

TiagoFigueiredo

Industrial
May 22, 2013
494
PT
I want to change the direction of an offset plane, basically I want to make the reverse option. Any Idea of how to do it?

Tiago Figueiredo
Tooling Engineer
 
Replies continue below

Recommended for you

Method on HybridShapeFactory is called

AddNewInverse

From documentation:

Func AddNewInverse( Reference Element,
long Inverse) As HybridShapeInverse

Creates a new Inverse within the current body.
Parameters:
iElement
The objet to inverse
iInverse
the type of inversion (see CATGSMOrientation.h) 1 for no inversion -1 for inversion
oInv
The inverted object



Hope it helps,
Calin
 
yes it helped. :)

I have changed the value to -Value. and it worked.

Tiago Figueiredo
Tooling Engineer
 
So I guess you didn't want to change the orientation but the direction :)))

Good one :))

Calin
 
changing the value is one thing, the other thing would have been to use the HybridShapePlaneOffset.Orientation = -1 property

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top