VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2009-05-23 14:00:15

Chigishev
Beta User
From: Moscow, RUSSIA
Registered: 2008-10-21
Posts: 51
Website

DEV_KIT

Hello!

I try to create my own Dll as application for VERICUT.

One question: How I can get value of text variable? The function cmeapi_get_alpha_nc_var(varname) return double value only.....  :?:

Offline

#2 2009-05-29 09:14:52

MustaphaC
VERICUT Specialist
From: Le Mans, France
Registered: 2004-10-14
Posts: 130
Website

Re: DEV_KIT

Hi,

Unfortunately it is not possible with current functions  sad
I suggest you ask your CGTech representative to enter an Enhancement Request to have a function string cmeapi_get_alpha_nc_text_var(varname)


Mustapha

Offline

#3 2009-06-01 12:05:18

Chigishev
Beta User
From: Moscow, RUSSIA
Registered: 2008-10-21
Posts: 51
Website

Re: DEV_KIT

Thank you!

I have solution for this problem. Not so fine - but - working. When I set text var (using ordinary MACRO) I make a copy this var to LabelName , and later from my DLL I can get this var from function cmeapi_get_c_text_vars(CMS_C_LABEL_NAME);

Thank you for advise.

Offline

#4 2009-06-01 12:59:01

MustaphaC
VERICUT Specialist
From: Le Mans, France
Registered: 2004-10-14
Posts: 130
Website

Re: DEV_KIT

That is a really clever resolution  :idea: ! Thanks

Just be carefull to not use the variable name as a real label!


Mustapha

Offline

Board footer