• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. add component in Design Entry

Stats

  • Replies 1
  • Subscribers 160
  • Views 12547
  • Members are here 0
More Content

add component in Design Entry

hoonbin
hoonbin over 13 years ago
Hi everyone. I have a trouble. I use skill function below. ----------------- cnhandle = (cnmpsImport) load strcat(getShellEnvVar("CDSROOT") "/tools/fet/skill-01.00/context/cdscnCmnds.ini") opts = cnSetRunOptions( ?result cnOUT_VERBOSE ) cmdstr = "add resistor_0805.sym_2 \n add :%Value:VALUE=100k \n" result = cnSendCommand(cnhandle, cmdstr, ?runOptions opts) ------------------- I run in cnskill window. ex) load("add_component.il") It display like below. ---------------*Error* _mpsRemoteCall: argument #1 should be any user-defined (other) type (type template = "oslgxg") - nil------- What means error message. I hurry up. Please help me.
  • Sign in to reply
  • Cancel
  • BethHP
    BethHP over 9 years ago

    Hi!

    I have the same error when I trying to load and execute an skill code from a .bat.

    The .il is load without any error but after when I try to execute, I obtain *Error* _mpsRemoteCall: argument #1 should be any user-defined (other) type (type template = "oslgxg") - nil

    If I execute the same .il from Skill shell or from command window of DEHDL, all works perfectly.

    I include my .bat program. And I explain what I am trying to do with it: I need to call and run the .il code (really it is a report generator from some parts of my schematic) from a button in Excel or from a option in a web page. First ask the path of the project I want to execute the report, and after start the .il.

    @echo off
    echo Fecha:%date%
    echo Hora:%time%
    set /P WORK_DIR=Please write the project.cpm path:
    CD /d"%WORK_DIR%"
    CD
    pause
    set _source=C:\Users\cadevale.AUTH\Documents\Beth\Skill
    REM start /d"%WORK_DIR%" /WAIT /b cnskill -i -nongraph "%_source%/startup.concept.scr"
    start /d"%WORK_DIR%" /WAIT /b cnskill -i -nongraph %_source%/schreport.il
    pause

    Someone can help me? 

    Thanks in advance

    Beth

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information