|
drawingdoc::createrelativeview
hello,
i am trying to use the drawingdoc::createrelativeview function to get a relative to model view. when i do it in the sw i have to select 2 faces that will be the front and the right orientation in the view. .how do i make it in the macro?
i was trying to record a macro and do it and it uses the selectbyid function and uses the xyz position of the face. how can i make it?
thanks,
does anyone knows how to use this function?
i have 2 faces selected like that:
set ent = facearr(facenum)
ent.select4 false, swseldata
but the function isn't working.
set pview = swdraw.createrelativeview(cmodel.getpathname, 0.14, 0.16, 0, 1)
returns pview = nothing...
what can be the problem?
quick |
|