Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi community,
I'm trying to create a program that automatically generate sketch curve features from local text files, referring this article.
https://www.ptc.com/en/support/article/cs279605
Apart from the article, I changed a definition of line from Pro2dSplinedef into Pro2dLinedef because I would like to depict skech with straight lines.
Now the program can generate a sketch on a datum plane, but it does not treated as "closed section".
Could anybody show me what should I do with my code? Should I add any element to the sketch feature?
Thanks!
Use the function ProSectionIntentManagerModeSet() to set the Intent Manager property to ON or OFF for the specified section. This function must be called before using the other Creo Parametric TOOLKIT functions to access sections with the Intent Manager property set to ON.
Thank you for your suggestion. My code includes the function as same as the article.
Even the code has the function, I still could not have closed section somehow. Lines included in the section seem to not be connected each other(see screen shots plz). The problem is supporsed to have nothing with the function.
Do you know how to help?
d