I would like to create a MultiPart path ,by selecting points from layout window and send it to the proceedure which creates MPP.So could you please specify ,how to take a point and send it list of such points so that I can create MultiPart Path in the path specified by those points.
Thanks & Regards,
The command you want to use is enterPath. The steps you want to take are documented in the Relative Object Design Users Guide, there is a very good example on exactly what you want to do.
At the risk of criticism, I will repeat myself here and point you to a useful solution that contains an example of using enterPath() to gather points from the user and pass these on to a call to the rodCreatePath() function that creates a Multi Part Path. Here is the solution code:
CIC SKILL Code Library page: CCSslotMetal.il
And here is the link to the full SourceLink solution:
How can I created slotted metal paths?
In reply to AmitBiswas:
You can create your own customized Multipart Path following the above mentioned way .There is one more way by which you can do the same. If you are facing problem in only passing the point to the MPP then you can you use this command "leDefineMPPTemplate" . Here you don't have to pass the points, it will work in interactive mode just like during drawing a path user is able to see the path.
Basically "leDefineMPPTemplate" and "rodCreatePath" command's syntax are similar
Syntax of "leDefineMPPTemplate"
?name Multipartpath_Name ; it should be a string
?layer list("prBoundary" "drawing") ; Master layer name normally set it to peBoundary
) ; end of leDefineMPPTemplate
Syntax of "rodCreatePath"
Points=list(list of points)
?name MPP_Name ; it should be a string
?layer layer_name ; this is the master layer name
?width layer_Width ; master layer width
) ;end rodCreatePath
only difference in "rodCreatePath" is you have to pass the Points of the MPP to the ?pts field, which is done by enterPath() function.
I hope this will solve your problem.
please refer "sklayoutref.pdf" to learn more about these commands