API: sketch visibility

Discussion in 'SolidWorks' started by mastercamuser, Sep 9, 2003.

  1. Hi,
    How do I get the sketch visibily (shown/hidden). I know I can use
    BlankSketch and UnBlankSketch to set change it, but before doing so, I
    would like to get the current state.

    Thx,
    Dan.
     
    mastercamuser, Sep 9, 2003
    #1
  2. want to revert them to their previous state, he ? AFAIK it is not
    implemented yet...
    I can think of a workaround based on the fact that
    ModelDoc::SelectByID ("","EXTSKETCHSEGMENT",x,y,z)
    will work only if a segement of a VISIBLE sketch can be found at point
    x,y,z...
     
    Philippe Guglielmetti, Sep 9, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.