Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何传递line参数给SCH_PrimitiveWire.create()方法 #14

Open
Sheepfan0828 opened this issue Dec 23, 2024 · 0 comments
Open

Comments

@Sheepfan0828
Copy link

Sheepfan0828 commented Dec 23, 2024

如题,请举例说明。

我这里是这么尝试的:

const w = await eda.sch_PrimitiveWire.create([[0, 0, 10, 10, 20, 20]]);
if (!w) {
      throw new Error("Failed to create wire.");
}
console.log("Wire Created");

然后得到了如下错误:
Uncaught (in promise) Error: create failed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant