Hi,
I want to add overlay buttons in Inventor. These buttons should be selectable and relative poision of button should always be fixed. Means no rotation , no scaling for buttons, just like Navigation cube. I have tried overlay graphics and anchor graphics, but it did not meet the requirement.
Any idea how can I achive this behavior ?
Thanks,
Pranit
Hi,
Finally I was able to create Fixed overlay graphics with anchored graphics 🙂
Now I want to add image texture to this overlay graphics. Currently I am using RenderStyle to create texture. I using following code for texture generation
oNode.RenderStyle = oDoc.ActiveRenderStyle;
oNode.RenderStyle.TextureFilename = @"C:\Users\Public\Documents\Autodesk\Inventor 2014\Textures\surfaces\Screen_5&_cutout.bmp";
where, oNode is GraphicsNode.
However this texture is not applied to overlay graphics. The color of graphics is chaging but not accourding to image I am providing.
Anyone has any idea what I am missing ?
Hi,
I am not finding a way to get texture for client graphics. I asked a colleague in engineering about this. Here is their reply:
>> >>
I don’t think any client graphics will support textures, not just overlay graphics. If I remember correctly, if you apply a render style that has a texture, the texture is ignored and you just get color.
<< <<
Maybe PointGraphics can help. I see this type of client graphic can use an image.
Thanks,
Wayne