Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem importing points from Excel

Status
Not open for further replies.

AkramAero

Aerospace
Apr 21, 2016
11
QA
Hi everyone
I tried to draw a spline using GSD_PointSplineLoftFromExcel excel file, but when I run the macro, it shows an error message:
"license information for this component. You do not have an appropriate license to use this functionality in the design environment".
Can anyone help?
Thank You :)
 
Replies continue below

Recommended for you

I dont know if DS update its code sample from online doc but just for us to better help you.. What is your version of CATIA and version of the catvba file ?

Eric N.
indocti discant et ament meminisse periti
 
I know it has to work, but I couldn't find what to fix exactly
 
do you have catia running before you start the script in excel?

How do you start catia usually ?


Eric N.
indocti discant et ament meminisse periti
 
ok my feeling is that your excel script is link with a previous catia level, and when the script try to get catia it won't find the open one and will try to start a new one and then you're missing license.

in the script ( go to EXCEL VBA with [kbd]ALT[/kbd] + [kbd]F11[/kbd]) find GetCATIA() the run it one line at a time : bring cursor inside and press [kbd]F8[/kbd]

and check if windows find your running catia or if it's trying to create a new process...

Eric N.
indocti discant et ament meminisse periti
 
run-time error '429'
ActiveX component can't create object
 
what line?

Eric N.
indocti discant et ament meminisse periti
 
Try to register Catia. This may help. Put On Error Resume Next before If CATIA Is Nothing Then
and see what's going on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top