Hi, I find simple Line or Dwire objects have MapMode similar to Sketch, but seem most Arch Scripted Objects do not.
Simple ObjectXY + Attachment Offset is already very useful.
Any method to add this 'feature' 'functionality' to python scripted objects?
Thanks for any idea!
Scripted Objects [ArchWall Testing] - Add MapMode + Attachment Offset?
Scripted Objects [ArchWall Testing] - Add MapMode + Attachment Offset?
Last edited by paullee on Thu Aug 02, 2018 11:19 pm, edited 3 times in total.
Re: Scripted Objects - Add MapMode + Attachment Offset?
Attachment is an extension. You can add this extension to any object via python or c++ code. I don't have a example ready, but if you search around with that buzzword you shold find some implementations. I think DeepSOIC has in his workbenches (Lattice?) some examples of this.
Re: Scripted Objects - Add MapMode + Attachment Offset?
Thanks!
It happens Oddtopus also pointed to something called AttachExtensionPython and collect a few link some of which are your posts!
I haven't dug into the technicality of the documents yet as it looks way far from my knowledge level at a glance... would have the courage to attempt reading them first anyway
It happens Oddtopus also pointed to something called AttachExtensionPython and collect a few link some of which are your posts!
I haven't dug into the technicality of the documents yet as it looks way far from my knowledge level at a glance... would have the courage to attempt reading them first anyway

Re: Scripted Objects [ArchWall Testing] - Add MapMode + Attachment Offset?
Oddtopus's info lead me to the thread with discussion between clarkitect and you, yes almost a tutorial and it seems simple to start with.
I try ArchWall and it seem working... I am posting some images here and may post a link there to update the discussion a little bit. (Should somebody combine this as I am not aware there had been discussion?)
Thanks again!
ArchWall on Dwire
Now...
ArchWall Attached to a Circle (ObjectXY)
I try ArchWall and it seem working... I am posting some images here and may post a link there to update the discussion a little bit. (Should somebody combine this as I am not aware there had been discussion?)
Thanks again!
ArchWall on Dwire
Now...
ArchWall Attached to a Circle (ObjectXY)
- DeepSOIC
- Veteran
- Posts: 7900
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Scripted Objects [ArchWall Testing] - Add MapMode + Attachment Offset?
Why do you think attachable wall is useful?
You can either attach the base profile of the wall (e.g. a sketch), or attach a clone of the wall...
I have serious doubts about usefulness of attachment of non-primitive objects. It is more of assembly job. Attachment doesn't have "attach by" feature yet.
See Lattice PartDesign Pattern tutorial, it may give you an idea of what I'm talking about. Two attachments are used there, one to define "attach-by" (a reference placement), and another to define "attach to" (an array of placements in the tutorial).
You can either attach the base profile of the wall (e.g. a sketch), or attach a clone of the wall...
I have serious doubts about usefulness of attachment of non-primitive objects. It is more of assembly job. Attachment doesn't have "attach by" feature yet.
See Lattice PartDesign Pattern tutorial, it may give you an idea of what I'm talking about. Two attachments are used there, one to define "attach-by" (a reference placement), and another to define "attach to" (an array of placements in the tutorial).
Re: Scripted Objects [ArchWall Testing] - Add MapMode + Attachment Offset?
I try some Lattice2 WB / tutorial sometime ago which is impressive indeed... unfortunately have little time at the moment to dig in further... and not found yet a usecase for modeling a building... Trying to get what do it mean by 'attach-by' in your latest tutorial...DeepSOIC wrote: ↑Sun Aug 05, 2018 10:59 am Why do you think attachable wall is useful?
You can either attach the base profile of the wall (e.g. a sketch), or attach a clone of the wall...
I have serious doubts about usefulness of attachment of non-primitive objects. It is more of assembly job. Attachment doesn't have "attach by" feature yet.
See Lattice PartDesign Pattern tutorial, it may give you an idea of what I'm talking about. Two attachments are used there, one to define "attach-by" (a reference placement), and another to define "attach to" (an array of placements in the tutorial).
BTW, not really sure what exactly to be done by the Attachment extension, just try it with one of the object ArchWAll that I am familiar in FC.
Anyway, as clarkitect point out, clone is a workaround but probably not as handy as with it 'build-in'.
Any thinking usage like for a building with repetitive / varied units 'attaching' to a central core...