![]() |
【转帖】highlight of sketch
highlight of sketch
hello, i need a highlight a simple straight line in some 3d sketch by api. similar like if mouse cursor move under gui. i have tried this: sketch swskx = (sketch)swftr.getspecificfeature2(); object[] objsegs = (object[])swskx.getsketchsegments(); foreach (object objseg in objsegs) { sketchsegment swseg = (sketchsegment)objseg; swseg.select4(true, null); body2 swwire = swseg.createwirebody(); int ires = swwire.display3(swasm.getcomponentbyname(swftr.name), 255, 0); } but it does not work. thank you for response. petr bartoš quick |
所有的时间均为北京时间。 现在的时间是 06:43 AM. |