Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Language: C#

Highlight If you want to highlight the vertices and edges of Parasolid component
Sample code for DemoUserCommand in hps_wpf_sandbox

...

Set visibility of vertex and edge after importing parasolid file

Code Block
public override void Execute(object parameter)
{
  GetCanvas().GetFrontView().GetAttachedModel().GetSegmentKey().GetVisibilityControl().SetLines(true).SetMarkers(true);
  GetCanvas().Update();
}

Get component of vertex and edge and highlight

...

the Parasolid component, check out our forum post.