Using all the values stored in an array?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using all the values stored in an array?

    I created an array of generic points based on some off the hit points I read out of a couple of different features. I used a loop command to do this, but didnt define the array initially? Also I let PCDMIS define the array all on its own, not sure If this is where I went wrong or not. For some reason cant figure out the array command even with the DMIS help file? Anyway...

    When the program was executed the array values all seem correct, and each one could be called individually without any problems.

    My problem is that once all the values were stored in the array, I wanted to use all of these feature points in the array to create another feature, like a circle or plane for example. The software for whatever reason however only used the last value in the array to construct the plane or circle, which of course doesnt help. I could read all of the values out of the array one by one into new features, but this defeats the purpose of the array in the first place.

    For the time being I just read all of the hits I want into a individually created Generic point. Instead of using the shorter version of reading all of the values I wanted out using a loop.

    I would prefer to be able to use the array method as this would shorten my code up significantly and make it easier for me to program.

    Anyone know what I might have been doing wrong, so that I couldnt use all of the points stored in my arrays to construct another feature?

    Thanks

    Using v4.1
    Last edited by MrComment; 09-28-2006, 02:05 PM.
    Mr. Comment
    SCIROCCO-NT 13-20-10
    B3C-LC Controller (Leitz Protocol), SP600M, TP200
    PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
    sigpic

  • #2
    post program example???

    When ou tried to construct the latter feature, did you simplay name the array as a single component to the construction? Or did you reference the individual members of the array?

    Comment

    Related Topics

    Collapse

    • Krisj
      Looped arrays/dimensions
      by Krisj
      Hello everyone, I'll try to keep this short and explain it the best I can. I've been using loops a lot recently and was trying to figure out a way to...
      08-30-2016, 11:08 PM
    • programmer
      Array
      by programmer
      I have 120 diameters I want to array but I don't want to list all 120 diameter.
      Anyway to array just the 1st and last one? ARRAY(CIR1 THRU CIR120)...
      06-05-2019, 08:06 AM
    • Virgil UK
      Arrays
      by Virgil UK
      Happy Christmas to you all!

      My question is this.

      I am measuring ten vector points around an edge. Lets suppose I am looking...
      12-19-2007, 08:20 AM
    • VADER
      construction from loop
      by VADER
      I am trying to construct one whole plane from 4 loops (90 deg.) and none of the looped planes show up in my contruction options menu. Ver. 3.207 beta....
      08-23-2006, 02:38 PM
    • Bruce Domer
      Can a MIN(X), MAX(X) be pulled from Autoplanes?
      by Bruce Domer
      Title is what I need. Our people want to only use autoplanes because it is to much to expect the to remember how to move points (if they need to be moved)...
      10-11-2012, 04:38 PM
    Working...
    X