hexagon logo

Polar Points

I have a simple part to measure that requires taking many multiple points in Polar coordinates. There are over thirty sections and I check each section with 3 points and must find the highest of the three points in that section. I was wondering if there is an easy way to calculate which one of the three points are the highest and have that point sent to the report? My company has PC-DMIS Cad++ Version R1 (Service Pack 5) if that helps.
Parents
  • There is a lot of useful information on here; don't get me wrong.
    The problem is, you're not going to be able to get a quick script that does exactly what you want -- typically.

    There's a lot of work that really comes down to you.
    You need a firm understanding of assignments, how they're created and how they're used, etc. before you'll even begin to be able to grasp the concepts.

    Otherwise, you'll end up writing code willy-nilly, hoping you eventually tell the machine something it understands, and kinda-sorta works the way you want so it's good enough.

    For advanced programming techniques, there is a lot of talk about classes straight from Hexagon.

    I use assignments daily, for a plethora of reasons in a cacophony of programs. I'm by no means an expert, but it takes a lot of "figuring stuff out" to really understand what's going on. It's easy to hit CTRL+C, CTRL+V, and get frustrated because it doesn't work.

    F1 (the Help section) and search for assignments, and it'll tell you their construction, and a bunch of ways to use them.
    Peruse the forum to gain an understand of how other users apply assignments to their programs, and see what you can learn from them.
    Experiment with different creations of variables and see what you can come up with; math formulae are especially handy.

    If you want to truly use assignments effectively, a good understanding of math helps too.
    ---
    My personal favorite method of learning variables is to use other code.
    For example, PC-DMIS and VB have an interesting relationship.
    Maybe check out how to program in VBS or something; get used to the syntax and how you can use variables their and it'll help you use assignments and whatnot here
  • Unfortunately for many users on this forum, my machine has been down for a week or so and i've had plenty of time to be stagnant -_-
Reply Children
No Data