Jump to content

callum.adams11

Member
  • Posts

    8
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Location
    Australia
  1. Im having no luck finding a solution to this... I have a script \/ \/ Procedure SymbolDistance; Var X1,Y1,X2,Y2, Dist: Real; S1, S2: String; H1, H2, H3: Handle; B1: Boolean; Begin PushAttrs; B1:=GetCustomObjectInfo(S1, H1, H2, H3); GetSymLoc(H1,X1,Y1); Symbol(pSymbol,0,0,0); GetSymLoc(GetObject(pTee),X2,Y2); Dist:=Distance(X1,Y1,X2,Y2); S2:=Num2StrF(Dist); SetRField(H1, pRecord, pField, S2); PopAttrs; ResetObject(H1); END; Run(SymbolDistance); Basically a Point Object tool, that inserts a symbol > measures a distance > puts it in a new symbols record field.. The object doesn't take the value once inserted. Though when moved will update the value in the Object info record field window. BUT wont show the value in the text that is linked to the record field.. Any thoughts?
  2. No luck with that.. I Still have to move the symbol once Ive placed it to get the value to update in the field. But still nothing on the symbols text. I think the problem is Ive created a PIO, which I cant edit. Back to the drawing board...
  3. Hi all, I've cobbled together a script that ends up putting a value in a Symbols Record Field. The value makes it to the Symbol/field, but doesn't display on the symbol/Text that it is linked to. Do I need to 'refresh' the symbol after the script has run to have it show up? Thanks
  4. Hi Pat, This has been a huge help. I was wondering if you knew anyway to automate this a bit more, having it insert symbols at x, y coordinates from a worksheet? This has saved me hours, but if I can automate it, days could be saved! haha Again, thank you so much for your help! Callum
  5. Perfect! I see you talk about referencing a 'named locus' as the measure from point. Is there a way to make the 0, 0 of a sheet layer that is different to the design layers as that locus? Thanks again Pat, this has been a HUGE help!
  6. Wow, thanks!! And for the icing on the cake.. is there a way to merge it with a symbol I've created? So that the placing the plugin will place the text and the symbol? Thanks again Pat!
  7. I'm looking for a more simple read out though (which Im thinking could be the difficult part) I just need a distance from point A to B, instead of an x,y read out..
  8. Hey, I was wondering if there was a way to set a 0, 0 on a design layer and have a symbol auto fill the distance from itself to 0, 0? I have A LOT of symbols to layout and label distances, and wondering if there's a quicker way... Best, Callum
×
×
  • Create New...