2010-02-17 01:48 PM
2010-02-17 04:07 PM
IF GLOB_CONTEXT = 2 THEN addz plan_cut_height ! derived from global parameters according to your needs CUTPLANE ! in this form it simply cuts away anything above the XY plane del 1 ENDIFThe GLOB_CONTEXT condition means it will only run when called from the 2D script. At the end of the script you will need:
IF GLOB_CONTEXT = 2 THEN CUTENDThis ends the cutting plane.
2010-02-17 05:38 PM
if StorySensitive then dummyvar = GLOB_CSTORY_ELEV project2 3,270,1 ! if you replace 1 with 2, becomes hidden line wich is what i wanted! end endifAt the begining of the 3D script :
if StorySensitive and GLOB_CONTEXT = 2 then add 0,0,GLOB_CUTPLANES_INFO[1] + GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV cutplane del 1 if CutBelow then cutbottom = max(GLOB_CUTPLANES_INFO[3]+GLOB_CSTORY_ELEV-GLOB_HSTORY_ELEV,GLOB_CUTPLANES_INFO[4]) add 0,0,cutbottom mulz -1 cutplane del 2 endif endifAnd at the end of the 3D script:
if StorySensitive and GLOB_CONTEXT = 2 then cutend if CutBelow then cutend endif endifI don`t know what dummyvar means. Anyway i succeded to make it cutplane sensitive but now i have to insert the foloowing parameters : uncut linetype
2010-02-17 05:42 PM
2010-02-17 05:49 PM
2010-02-17 06:06 PM
============================================================================== ! Projected Views ! ============================================================================== gs_cutplane_height = GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV + GLOB_CUTPLANES_INFO[1] gs_top_range_height = GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV + GLOB_CUTPLANES_INFO[2] if gs_symb_show_projection_to = stProjectionTypes[1] then gs_bottom_range_height = GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV + GLOB_CUTPLANES_INFO[3] ! To Floor Plan Range else gs_bottom_range_height = GLOB_CUTPLANES_INFO[4] ! Absolute Display Limit endif doCutplane = (AC_symb_display_option = 1 | AC_symb_display_option = 2) ! Draw View Edges ============================================================== pen AC_uncut_pen line_type 1 if AC_symb_display_option = 5 then pen AC_overhead_pen line_type AC_overhead_linetype endif project2{3} 3,270,2+32 * (AC_symb_display_option = 5 | not(gs_use_3D_view_attributes)), 8, parameters gs_2D_projection = doCutplane, gs_2D_projection_type = 1, gs_cutplane_height = gs_cutplane_height, gs_top_range_height = gs_top_range_height, gs_bottom_range_height = gs_bottom_range_height
project2{3} 3,270,2+32 * (AC_symb_display_option = 5 | not(gs_use_3D_view_attributes)), 8,can somebody "translate it"?
2010-02-17 06:56 PM
2010-02-17 07:21 PM
2010-02-17 08:04 PM
TMA_80 wrote:This is why I use 3DS to get SketchUp models into ArchiCAD.
it the same problem when importing skeychup object ArchiCAD triangulate all the faces , the force smooth option from the 3ds addon would be great for both cases (yours and sketchup objects )
2010-02-17 08:11 PM
Coty82 wrote:You are right. The smoothness is determined in the 3D script. As I recall the Project2 {3} command just gives control over fills and pens for the plan view projection.
I am updating again. I have found that the "method" parameter in the Project2 {3} command, has nothing to do with the smoothness of 3D object.
So i guess this issue is related to the actual 3D script . I should compare the 3D scripts of the C4D and 3DS import object. Does anybody knows more about this thing?