Swap elements in asy by file poperties

Valued Contributor
Valued Contributor

Hello Experts!!

 

I would like to kindly ask you how ,or is it even possible, to automatically swap elements in asembllies SE ST 5 . Let me describe my horrible problem.

I have many huge assemblies consists some "old" standard elements. These 3d elements are placed in many folder locations, but in one folder named A. I would like to swap these elements by new ones, but all located in folder B.

 

The swap recognition of particullar file is defined by file properties>project>project name.

 

Is it possible to automatically swap these elements by this data? May you help me with the code?

 

Thanks a lot!!

 

G. Wit

 

20 REPLIES

Re: Swap elements in asy by file poperties

PLM World Member Genius PLM World Member Genius
PLM World Member Genius

Ok first thing that comes to my mind, let see if this can help

 

At the assembly level create a query using  the project name

 

Run the query

 

What ever will be found will be place in the select set.

 

Next step will be to hit replace

 

http://www.soliddna.com/SEHelp/ST5/EN/w_z/xid377363.htm

 

http://www.soliddna.com/SEHelp/ST5/EN/i_v/rplcpt1a.htm

 

Query

 

Query.png

 

Let us know if this hep

Re: Swap elements in say by file properties

Valued Contributor
Valued Contributor

Hello!!

 

Thank you for your respond. Unfortunately I knew about this option however its not solving my terrible issue.

I have never wrote code for SE but I think its possible to swap elements by file properties automatically..

 

Guys, Any ideas or hints?!!


SolidDNA wrote:

Ok first thing that comes to my mind, let see if this can help

 

At the assembly level create a query using  the project name

 

Run the query

 

What ever will be found will be place in the select set.

 

Next step will be to hit replace

 

http://www.soliddna.com/SEHelp/ST5/EN/w_z/xid377363.htm

 

http://www.soliddna.com/SEHelp/ST5/EN/i_v/rplcpt1a.htm

 

Query

 

Query.png

 

Let us know if this hep


 

Re: Swap elements in asy by file poperties

Siemens Phenom Siemens Phenom
Siemens Phenom

I don't know how much data you are looking at modifying but yes this could be implemented programmatically but there is time investment to develop a program to do this.  Will the time spent to implement a programmatic solution be greater than time spent just doing this activity manually?  Sometimes an intern pushing buttons manually can be a lot cheaper solution in both time and money than a programmer implementing an automated solution.

 

Again without knowing all the specifics, the Solid Edge Data Prep tools could also potentially be a method to achieve your goal.

Re: Swap elements in asy by file poperties

Valued Contributor
Valued Contributor

David,

 

Thank you for double feedbackSmiley Happy I estimate swap all this elements would take half of year for 3 persons, on the 2nd hand I dont know how much cost the outsourced code..anyway

May you, or somebody else?, have some access how to program in SE?? 

 

I will be really highly appreciate for any help or any guidelines!!

 

Re: Swap elements in asy by file poperties

PLM World Member Genius PLM World Member Genius
PLM World Member Genius

Dou you operate under a manage environement?

Re: Swap elements in asy by file poperties

Valued Contributor
Valued Contributor
Hi,

What you mean manage?

Re: Swap elements in asy by file poperties

Siemens Phenom Siemens Phenom
Siemens Phenom

"managed" -- Are you running Solid Edge Embedded Client i.e. Teamcenter, Solid Edge Insight, Solid Edge SharePoint or some 3rd party data management solution?

Re: Swap elements in asy by file poperties

Siemens Phenom Siemens Phenom
Siemens Phenom

Based on your feedback I would suggest looking at the data prep tools.  There is a small learning curve to using these but that would be no different to the learning and/or deveopment curve for writing a custom program.

Re: Swap elements in asy by file poperties

Valued Contributor
Valued Contributor
Yes, company currently running SE embadded client. BTW, where should be placed Solid Edge SharePoint? I can't see this app?? Data prep tools? Where are these?? Thanks a lot!