- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The method R(view, Graphic) generates spheres in some coordinates. This is the only way that I have found to generate a sphere solid inside Navisworks. Therefore, I would like to call the plugin bellow through another AddinPlugin but I am able to do that only using ToolPlugin instead of RenderPlugin. As I don't want to override none of the tools available for the user navigate, this is the better way I have found. Is there a way to call it? If not, is there a better way to create geometry inside Navisworks?
class SpherePlugin : RenderPlugin
{
public override void Render(View view, Autodesk.Navisworks.Api.Graphics graphics)
{
R(view, graphics);
}
public override void OverlayRender(View view, Autodesk.Navisworks.Api.Graphics graphics)
{
R(view, graphics);
}
}
Solved! Go to Solution.