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

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: import and mirror
PostPosted: Wed Dec 07, 2016 4:52 pm 
Offline
DELCAM Guru
DELCAM Guru

Joined: Tue Nov 07, 2006 1:16 pm
Posts: 75
hi,
i've imported a dgk file

Dim pAs New List(Of PSEntity)
p= psm.Import(file)
ok,
now i must mirro all imported entities
!!!
i solved with old method " execute " but isn't good solution !!!
Thanks


Top
 Profile  
 
 Post subject: Re: import and mirror
PostPosted: Wed Dec 07, 2016 11:40 pm 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
So you should now be able to do something like:
For Each entity As PSEntity in p
entity.Mirror(...)
Next


Top
 Profile  
 
 Post subject: Re: import and mirror
PostPosted: Thu Dec 08, 2016 1:03 am 
Offline
DELCAM Guru
DELCAM Guru

Joined: Tue Nov 07, 2006 1:16 pm
Posts: 75
I believe that execute is much faster :)


Top
 Profile  
 
 Post subject: Re: import and mirror
PostPosted: Mon Dec 12, 2016 10:20 am 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
In which case you can use:
PSEntityMirrorer.MirrorEntities()

You need to pass in an IEnumerable(Of IPSMirrorable). Basically just a List(Of IPSMirrorable). PSLine implements IPSMirrorable so you can add those to this list.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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