最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

delphi - Altium script reportes Undeclared identifier for DM_Generate_OutputFiles and DM_Generate_OutputFilesTo functions - Stac

programmeradmin4浏览0评论

I'm trying to make a script in Altium. I want to start generating files through a 'job' file. There are two functions in the API:

Function DM_Generate_OutputFilesTo (OutputDirectory : WideString; ParameterOverrides : PChar) : Boolean;

Function DM_Generate_OutputFiles (AGeneratedFilename : PChar) : Boolean;

When I try to use them, I get "Undeclared identifier" errors.

I'm trying to work with it like this:

Procedure GenJob;
Var
    WSM         : IWorkSpace;
    Outputer    : IOutputer;

Begin

    WSM := GetWorkSpace;

    WSM.DM_GetCurrentProject.DM_Outputers(Outputer);
    Outputer.DM_Generate_OutputFilesTo('C:\','');
End;

What am I doing wrong?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论