Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 10:22 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Extracting electrode entities from PowerSHAPE
PostPosted: Wed Jul 22, 2015 9:21 am 
Offline
DELCAM User
DELCAM User

Joined: Tue Feb 17, 2015 7:15 pm
Posts: 29
Hello

I've been trying to make a program that extracts selected electrode data from a model which we can use to make EDM programs.

Problem is I just can't get the following code to work.

'Electrode data import
Dim ListofElectrodes As List(Of PSEntity) = psModel.SelectedItems


No data seems to be extracted from the selected electrodes. What is correct way to extract electrode data (name, undersize, coordinates etc) in collection list like this?

Also how do you get the VB program to stop executing commands and wait until selection and confirming the selection of electrodes has been done?

Thanks

Erik


Top
 Profile  
 
 Post subject: Re: Extracting electrode entities from PowerSHAPE
PostPosted: Wed Jul 22, 2015 11:53 am 
Offline
DELCAM User
DELCAM User

Joined: Tue Feb 17, 2015 7:15 pm
Posts: 29
So i made a test and i selected 2 PSLines and 2 Electrodes from a model and ran the program. From the local window in VB I can see that the value for ListofItems is following:

- ListofItems Count = 4 System.Collections.Generic.List(Of Delcam.ProductInterface.PowerSHAPE.PSEntity)

+ (0) {Delcam.ProductInterface.PowerSHAPE.PSLine} Delcam.ProductInterface.PowerSHAPE.PSEntity
+ (1) {Delcam.ProductInterface.PowerSHAPE.PSLine} Delcam.ProductInterface.PowerSHAPE.PSEntity
(2) Nothing Delcam.ProductInterface.PowerSHAPE.PSEntity
(3) Nothing Delcam.ProductInterface.PowerSHAPE.PSEntity

This would indicate CSC PSEntity is recognizing the electrodes as entities, but apparently there is no definition in CSC for electrodes?


Top
 Profile  
 
 Post subject: Re: Extracting electrode entities from PowerSHAPE
PostPosted: Mon Aug 10, 2015 6:11 am 
Offline
DELCAM User
DELCAM User

Joined: Tue Feb 17, 2015 7:15 pm
Posts: 29
Is anyone looking at this problem? If CSC is missing electrode entity features then I would like to request them be added.


Top
 Profile  
 
 Post subject: Re: Extracting electrode entities from PowerSHAPE
PostPosted: Wed Aug 12, 2015 4:19 pm 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
Hi, sorry for the slow reply.

Yes, it fails because we currently don't support electrodes in CSC. I have raised request bespokework#339 for this to be implemented. We will keep you updated as this gets implemented and released.


Top
 Profile  
 
 Post subject: Re: Extracting electrode entities from PowerSHAPE
PostPosted: Thu Dec 10, 2015 11:00 am 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
This is resolved in Custom Software Core 2016 which you should have received a link to download.
Alternatively you can re-register for the download at:
http://www.delcam-services.com/custom-software-core/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB