CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-29-2015, 12:16 AM
rvn rvn is offline
Registered User
 
Join Date: Mar 2011
Posts: 52
visual studio and modeling

Hi,

Does somebody know how to connect visual studio 2013/2015 with Creo elements direct modeling 18.1? DDE doesn't exist anymore in visual studio. Somebody has an idea and/or example to do this?

Thanks in advance
Reply With Quote
  #2  
Old 07-29-2015, 12:45 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: visual studio and modeling

Sounds like an interesting project... what kind of integration are you looking for here?

Creo Elements/Direct Modeling provides full interop with COM (from Lisp), which may be exactly what you need in this case.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 08-10-2015, 06:22 AM
rvn rvn is offline
Registered User
 
Join Date: Mar 2011
Posts: 52
Re: visual studio and modeling

I want to talk to Modeling from an outside application. So I want to make a visual menu with buttons in visual studio and those buttons "do something" in Modeling.
Reply With Quote
  #4  
Old 08-16-2015, 04:58 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: visual studio and modeling

What you are describing can indeed be accomplished using the COM/.NET API for Creo Elements/Direct Modeling. I feel a blog article coming up... ;-)
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/

Last edited by clausb; 08-16-2015 at 05:21 AM.
Reply With Quote
  #5  
Old 08-16-2015, 10:04 PM
rvn rvn is offline
Registered User
 
Join Date: Mar 2011
Posts: 52
Re: visual studio and modeling

Where can I find some information about the COM/.NET API from modeling? I'm not familiar with all of this.
Reply With Quote
  #6  
Old 11-08-2016, 02:54 AM
AtomicBee AtomicBee is offline
Registered User
 
Join Date: Nov 2016
Location: Italy
Posts: 6
Re: visual studio and modeling

Hi,
I've just joined this forum for the same purpose.
I would like to create a simple C++ external COM client to manage CoCreate assemblies/particular.
What I want to do is something like:
1) open a CoCreate assembly;
2) write inside it some properties (string, int, double, date);
3) save the assembly;
4) close it;
5) open it again;
6) read the properties I've written at step #2;
7) save/export the assembly as PDF
8) close the assembly.

By reading the CoCreate.OsdmObjects.chm document (provided during the software installation) I have issues at step #3.
What object have I to use to save the current opened model/assy/particular?
T&R,
AB
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:57 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.