cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Element Type

thendricks
3-Visitor

Element Type

Here is the situation: We have multiple illustrators creating files using multiple layers. We have an art layer that contains, obviously, the art. We then have one to three possible alternate layers containing languages. I need to loop through each layer and check the element type to ensure art is on the "Art" layer and text is on the element layer/s. The problem I've run into is when there is a group. A group could contain text and say a line. When my loop hits this object I get group instead of the individual components within the group. Any suggestions, other than ungrouping (which breaks the link for placed files)?
2 REPLIES 2

Hi Trevor, you could try this approach:
Lock the layers and examine one by one individually (unlock this one before and lock it again afterwards) Use "Select if type is text" (can be recorded) on this layer Examine each selected item (if there are some) by looping through them ("firstSelectedElement ","nextselectedElement")
That should also work within groups. regards, Christian

That worked perfectly. Thank you.
Announcements