Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Nowadays I practice my C# skill via converting some Autodesk-Invetor-related VB.Net code.
Here is the line where Visual Studio compiler finds "a constant value is expected" Error:
if (((Face)oBFs[2]).Geometry.GetType() is typeof(Plane))
"oBFs" (presumably collection of Faces) was got with SurfaceBody.FindUsingRay method:
oSB.FindUsingRay(origin, normal, 0.001, out ObjectsEnumerator oBFs, out ObjectsEnumerator oBPts, true);
What I'm missing?
Please vote for Inventor-Idea Text Search within Option Names
Solved! Go to Solution.