• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk ObjectARX

    Reply
    *Elmore, Andy

    AcDb3dSolid info

    111 Views, 7 Replies
    09-17-2003 01:26 PM
    Can I get some info on this arx object AcDb3dSolid.
    I would like to find out how I could remove it's grips and how have it drawn in
    a loction other than 0,0,0 maybe 1220,305,40? just some way that I can have
    it in a location that I tell it to progmaticly. I could not find it in the docs
    one of its built in functions.

     

    Thanks,

    Andy
    size=2>
    Please use plain text.
    *Preston, Stephen

    Re: AcDb3dSolid info

    09-17-2003 04:19 PM in reply to: *Elmore, Andy
    Hi Andy,

     

    To move it, you'd call the entity's transformBy()
    function and pass in a translation matrix.

     

    To remove the grips, you can derive from
    AcDb3dSolid and override the grippoints functions in your own
    implementation.


    Cheers,

     

    Stephen Preston
    Developer Technical Services
    Autodesk

    href="http://adn.autodesk.com">http://adn.autodesk.com

     

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Can I get some info on this arx object
    AcDb3dSolid. I would like to find out how I could remove it's grips and how
    have it drawn in a loction other than 0,0,0 maybe 1220,305,40? just some way
    that I can have it in a location that I tell it to progmaticly. I could
    not find it in the docs one of its built in functions.

     

    Thanks,

    Andy
    size=2>
    Please use plain text.
    *Elmore, Andy

    Re:

    09-18-2003 08:44 AM in reply to: *Elmore, Andy
    What type of 3dSolid would I need to use to have a
    user edited 3d solid (pretty much a mass element with less grips) but has the
    chamfering properties as a 3d solid. I did a search on mass elements in the
    arx help files but nothing turned up.

     

    Thanks,

    Andy


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Hi Andy,

     

    To move it, you'd call the entity's transformBy()
    function and pass in a translation matrix.

     

    To remove the grips, you can derive from
    AcDb3dSolid and override the grippoints functions in your own
    implementation.


    Cheers,

     

    Stephen Preston
    Developer Technical Services
    Autodesk

    href="http://adn.autodesk.com">http://adn.autodesk.com

     

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Can I get some info on this arx object
    AcDb3dSolid. I would like to find out how I could remove it's grips and how
    have it drawn in a loction other than 0,0,0 maybe 1220,305,40? just some way
    that I can have it in a location that I tell it to progmaticly. I could
    not find it in the docs one of its built in functions.

     

    Thanks,

    Andy
    size=2>
    Please use plain text.
    *Lou

    Re:

    09-18-2003 10:04 AM in reply to: *Elmore, Andy
    Stephen,

     

    To derive from AcDb3DSolid and override the grips
    would need custom object, right?

     

    Thanks!

    -Lou


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Hi Andy,

     

    To move it, you'd call the entity's transformBy()
    function and pass in a translation matrix.

     

    To remove the grips, you can derive from
    AcDb3dSolid and override the grippoints functions in your own
    implementation.


    Cheers,

     

    Stephen Preston
    Developer Technical Services
    Autodesk

    href="http://adn.autodesk.com">http://adn.autodesk.com

     

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Can I get some info on this arx object
    AcDb3dSolid. I would like to find out how I could remove it's grips and how
    have it drawn in a loction other than 0,0,0 maybe 1220,305,40? just some way
    that I can have it in a location that I tell it to progmaticly. I could
    not find it in the docs one of its built in functions.

     

    Thanks,

    Andy
    size=2>
    Please use plain text.
    *Preston, Stephen

    Re:

    09-20-2003 07:59 AM in reply to: *Elmore, Andy
    Of course. If you derive from any AcDbEntity, you
    end up with a custom entity - by definition.

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Stephen,

     

    To derive from AcDb3DSolid and override the grips
    would need custom object, right?

     

    Thanks!

    -Lou


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Hi Andy,

     

    To move it, you'd call the entity's
    transformBy() function and pass in a translation matrix.

     

    To remove the grips, you can derive from
    AcDb3dSolid and override the grippoints functions in your own
    implementation.


    Cheers,

     

    Stephen Preston
    Developer Technical Services
    Autodesk

    href="http://adn.autodesk.com">http://adn.autodesk.com

     

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Can I get some info on this arx object
    AcDb3dSolid. I would like to find out how I could remove it's grips and
    how have it drawn in a loction other than 0,0,0 maybe 1220,305,40? just
    some way that I can have it in a location that I tell it to
    progmaticly. I could not find it in the docs one of its built in
    functions.

     

    Thanks,

    Andy
    size=2>
    Please use plain text.
    *Preston, Stephen

    Re:

    09-20-2003 08:07 AM in reply to: *Elmore, Andy
    Hi Andy,

     

    I'm not sure I understand what you're
    after.

     

    AcDb3dSolid is a container for an Autodesk Shape
    Manager (or ACIS before 2002) solid. AcDb3dSolids all behave the same - its the
    contained solid that differs. The methods to create various ASM shapes are
    all described in the AcDb3dSolid entry in the helpfiles. In AutoCAD, pretty much
    the only programmatic editing you can do is a Boolean operation. More complex
    programmatic editing functions are available in MDT.

     

    You should be able to chamfer any AcDb3dSolid
    (regardless of its shape) using the UI (modify menu).

    size=2>

    Cheers,

     

    Stephen Preston
    Developer Technical Services
    Autodesk

    href="http://adn.autodesk.com">http://adn.autodesk.com

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    What type of 3dSolid would I need to use to have
    a user edited 3d solid (pretty much a mass element with less grips) but has
    the chamfering properties as a 3d solid. I did a search on mass elements
    in the arx help files but nothing turned up.

     

    Thanks,

    Andy


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    face=Arial size=2>
     
    Please use plain text.
    *Elmore, Andy

    Re:

    09-20-2003 08:13 AM in reply to: *Elmore, Andy
    Stephen ,

        What I'm looking to-do is have a
    solid that can stretch or shrink with set grip points this could be done with
    the AcDbSolid but I also need to have the option of chamfering with a user
    supplied value that would be the AcDb3dSolid but then I lose the stretch
    command.

    The shapes will not be complex just rectangles
    nothing more than that. So what I guess I need is AcDbSolid and AcDb3dSolid
    (chamfer command), not sure that this is possible but that is what I would need.
    I'm currently using ADT so I don't have MDT to check it out. Any ideas on how I
    could over come this?

     

    Thanks,

    Andy E


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    Hi Andy,

     

    I'm not sure I understand what you're
    after.

     

    AcDb3dSolid is a container for an Autodesk Shape
    Manager (or ACIS before 2002) solid. AcDb3dSolids all behave the same - its
    the contained solid that differs. The methods to create various ASM
    shapes are all described in the AcDb3dSolid entry in the helpfiles. In
    AutoCAD, pretty much the only programmatic editing you can do is a Boolean
    operation. More complex programmatic editing functions are available in MDT.

     

    You should be able to chamfer any AcDb3dSolid
    (regardless of its shape) using the UI (modify menu).

    size=2>

    Cheers,

     

    Stephen Preston
    Developer Technical Services
    Autodesk

    href="http://adn.autodesk.com">http://adn.autodesk.com

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

    What type of 3dSolid would I need to use to
    have a user edited 3d solid (pretty much a mass element with less grips) but
    has the chamfering properties as a 3d solid. I did a search on mass
    elements in the arx help files but nothing turned up.

     

    Thanks,

    Andy


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    face=Arial
    size=2>
     
    Please use plain text.
    Active Contributor
    Posts: 42
    Registered: ‎03-16-2012

    Re: AcDb3dSolid info

    03-30-2012 12:21 AM in reply to: *Elmore, Andy

    Hi

    How to set grip point  using createbox methods in acdb3dsolid Class.:manindifferent:

    With Regards,
    GVaradarajan
    Please use plain text.