Author Topic: Build Query. How do you do this ?  (Read 2947 times)

0 Members and 1 Guest are viewing this topic.

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Build Query. How do you do this ?
« on: September 02, 2014, 04:43:50 am »
In the PCB editor I want to select component comments where the component is on the opposite side to the comment. ie the comment text is on the top overlay and the component is on the bottom layer. Don't ask me how it got like that but something to do with the importer.

Even with the query language I can't see how to do this.

This was easy to do in 99SE but in Altium as soon as you select the components on a layer you no longer can use "find similar objects" because it wants to do the operation on the selected components only and and not the comment text.

It's got me stumped.
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: Build Query. How do you do this ?
« Reply #1 on: September 02, 2014, 05:01:36 am »
Do you simple want to flip (L) a few components?
 

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Build Query. How do you do this ?
« Reply #2 on: September 02, 2014, 05:16:04 am »
Do you simple want to flip (L) a few components?

No the component is on the correct side but the comment text is on the opposite side.

Anyway I found out how to do it using the following query which highlights the comment text on the top overlay for components mounted on the bottom.

Code: [Select]
(InComponentClass('Bottom Side Components') AND IsText AND OnLayer('TopOverlay'))
It's not as obvious and user friendly as 99SE in this respect.

 

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Build Query. How do you do this ?
« Reply #3 on: September 02, 2014, 05:48:41 am »
It's funny. I just noticed in the PCB Inspector that some of the parameters are hyperlinked so you can click on those to set more parameters.

cheers.

 

Offline dboyer

  • Contributor
  • Posts: 23
Re: Build Query. How do you do this ?
« Reply #4 on: September 03, 2014, 04:32:45 pm »
Do you simple want to flip (L) a few components?

No the component is on the correct side but the comment text is on the opposite side.


This happens to me sometimes.  I have not figured out a good way to reproduce it but hopefully this filter will help me find afflicted parts.

FWIW, it seems to have something to do with the embedded component features in 14 but I'm not 100% sure yet.
 

Offline stefanh

  • Contributor
  • Posts: 35
Re: Build Query. How do you do this ?
« Reply #5 on: September 04, 2014, 11:59:45 pm »
I occasionally get this problem.  Some how my Component defaults get changed.

To fix it I do the following:
Goto DXP -> Preferences -> PCB Editor -> Defaults -> Component
Ensure that Component Properties -> Layer = Top Layer and Designator -> Layer = Top Layer.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf