1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to set a ReferenceSketchPoint?

Discussion in 'Alibre Script' started by idslk, Apr 10, 2019.

  1. idslk

    idslk Senior Member

    Hello Colleagues,
    upload_2019-4-10_15-0-49.png

    as long as i use 'False' it creates a Point..., if i set the value to 'True' it spits a failure message at me.
    Any ideas?

    Regards
    Stefan
     
  2. oldfox

    oldfox Alibre Super User

    Hmmmm....

    A point by definition is dimensionless. What would a reference point look like??? A little bitty circle? Probably needs to have the "IsReference"
    option removed from the coding and just sketch the point.
    Just use "false" for now".

    That looks like one for Mr. Andy.
     
  3. idslk

    idslk Senior Member

    Hello Chris,
    it made me "hmmmm..." too.

    As far as the function is a disfunction:D, i can't say how a reference point will look like...
    I thought it would be the same as a reference point in 3D, only in 2D (sketch).
    upload_2019-4-10_19-35-17.png
    ...and maybe this point will not be moveable with the mouse during working on scriptmade sketches to be able to set an anchor for dimesioning this sketches.

    and yes, Chris, i think it's one for Mr.Andy, too.
    except somebody else has a good idea or an trick...

    Regards
    Stefan
     
  4. ajayre

    ajayre Alibre Super User

    In this case AlibreScript is simply exposing functionality provided in the Alibre Design API. I'm not sure if it makes sense to set it to false. Reported to Alibre as a bug.

    Andy
     
    idslk and oldfox like this.

Share This Page